diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2003-03-13 16:56:28 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2003-03-13 16:56:28 +0000 |
commit | 0a3a1d7c711ed1da5cc939cbea3fc2dd7cb7668a (patch) | |
tree | 0cb0b58576693beb40299ce7995f000a04882880 /src/common.h | |
parent | e04ff12768d78cb4660257d2fcde9fec16f92b26 (diff) |
Fixed up the include order for the <sys/time.h> and <time.h> headers.
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/common.h b/src/common.h index b504ba3..e3854f0 100644 --- a/src/common.h +++ b/src/common.h @@ -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 * system. All this information use to be in the "tinyproxy.h" header, @@ -54,18 +54,14 @@ # include <sys/stat.h> #endif -#ifdef HAVE_SYS_TIME_H -# include <sys/time.h> -# ifdef HAVE_TIME_H -# include <time.h> -# endif +#ifdef TIME_WITH_SYS_TIME +# include <sys/time.h> +# include <time.h> #else # ifdef HAVE_SYS_TIME_H -# include <sys/time.h> +# include <sys/time.h> # else -# ifdef HAVE_TIME_H -# include <time.h> -# endif +# include <time.h> # endif #endif |