From ace480bb657605cb9e77918efd3dccc8bb574a45 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Wed, 6 Jun 2001 19:33:26 +0000 Subject: Fixed the include order to better handle the sys/time.h and time.h headers. --- src/tinyproxy.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/tinyproxy.h b/src/tinyproxy.h index 426cf6a..de0fed7 100644 --- a/src/tinyproxy.h +++ b/src/tinyproxy.h @@ -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 #include -#include +#ifdef TIME_WITH_SYS_TIME +# include +# include +#else +# ifdef HAVE_SYS_TIME_H +# include +# else +# include +# endif +#endif #include #include #include @@ -51,7 +60,6 @@ #ifdef HAVE_STRINGS_H # include #endif -#include #include #include -- cgit v1.2.3