summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h16
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