From 22307ae0eef8e987229c280ea4c78447beac839f Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 12 Oct 2006 03:57:33 +0000 Subject: [PATCH] Inclusion of time header files based on header existance --- lib/timeval.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/timeval.h b/lib/timeval.h index 8ab7a4401..5decc892b 100644 --- a/lib/timeval.h +++ b/lib/timeval.h @@ -30,11 +30,14 @@ #include "setup.h" -#ifdef WIN32 -#include -#else #ifdef HAVE_SYS_TIME_H #include +#ifdef TIME_WITH_SYS_TIME +#include +#endif +#else +#ifdef HAVE_TIME_H +#include #endif #endif