Fixed the include order to better handle the sys/time.h and time.h

headers.
This commit is contained in:
Robert James Kaes 2001-06-06 19:33:26 +00:00
parent ff97b38603
commit ace480bb65

View File

@ -1,4 +1,4 @@
/* $Id: tinyproxy.h,v 1.9 2001-06-02 02:07:34 rjkaes Exp $
/* $Id: tinyproxy.h,v 1.10 2001-06-06 19:33:26 rjkaes Exp $
*
* See 'tinyproxy.c' for a detailed description.
*
@ -31,7 +31,16 @@
#endif
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/time.h>
#ifdef TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
#else
# ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
# else
# include <time.h>
# endif
#endif
#include <sys/types.h>
#include <sys/uio.h>
#include <arpa/inet.h>
@ -51,7 +60,6 @@
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#include <time.h>
#include <unistd.h>
#include <assert.h>