Moved some of the includes around so that FreeBSD can compile correctly.

This commit is contained in:
Robert James Kaes 2001-08-27 17:46:20 +00:00
parent e88c426966
commit be9ce3ad26

View File

@ -1,4 +1,4 @@
/* $Id: tinyproxy.h,v 1.11 2001-08-26 21:18:04 rjkaes Exp $ /* $Id: tinyproxy.h,v 1.12 2001-08-27 17:46:20 rjkaes Exp $
* *
* See 'tinyproxy.c' for a detailed description. * See 'tinyproxy.c' for a detailed description.
* *
@ -26,6 +26,7 @@
/* /*
* Include standard headers which are used through-out tinyproxy * Include standard headers which are used through-out tinyproxy
*/ */
#include <sys/types.h>
#ifdef HAVE_SYS_SELECT_H #ifdef HAVE_SYS_SELECT_H
# include <sys/select.h> # include <sys/select.h>
#endif #endif
@ -41,10 +42,9 @@
# include <time.h> # include <time.h>
# endif # endif
#endif #endif
#include <sys/types.h>
#include <sys/uio.h> #include <sys/uio.h>
#include <arpa/inet.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <netdb.h> #include <netdb.h>