Fixed up the include order for the <sys/time.h> and <time.h> headers.
This commit is contained in:
parent
e04ff12768
commit
0a3a1d7c71
@ -1,4 +1,4 @@
|
|||||||
/* $Id: common.h,v 1.3 2002-12-04 17:06:13 rjkaes Exp $
|
/* $Id: common.h,v 1.4 2003-03-13 16:56:28 rjkaes Exp $
|
||||||
*
|
*
|
||||||
* This file groups all the headers required throughout the tinyproxy
|
* This file groups all the headers required throughout the tinyproxy
|
||||||
* system. All this information use to be in the "tinyproxy.h" header,
|
* system. All this information use to be in the "tinyproxy.h" header,
|
||||||
@ -54,19 +54,15 @@
|
|||||||
# include <sys/stat.h>
|
# include <sys/stat.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SYS_TIME_H
|
#ifdef TIME_WITH_SYS_TIME
|
||||||
# include <sys/time.h>
|
# include <sys/time.h>
|
||||||
# ifdef HAVE_TIME_H
|
|
||||||
# include <time.h>
|
# include <time.h>
|
||||||
# endif
|
|
||||||
#else
|
#else
|
||||||
# ifdef HAVE_SYS_TIME_H
|
# ifdef HAVE_SYS_TIME_H
|
||||||
# include <sys/time.h>
|
# include <sys/time.h>
|
||||||
# else
|
# else
|
||||||
# ifdef HAVE_TIME_H
|
|
||||||
# include <time.h>
|
# include <time.h>
|
||||||
# endif
|
# endif
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SYS_RESOURCE_H
|
#ifdef HAVE_SYS_RESOURCE_H
|
||||||
|
Loading…
Reference in New Issue
Block a user