From: Yang Tse Date: Thu, 12 Oct 2006 03:57:33 +0000 (+0000) Subject: Inclusion of time header files based on header existance X-Git-Tag: curl-7_16_0~105 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=22307ae0eef8e987229c280ea4c78447beac839f;p=curl Inclusion of time header files based on header existance --- 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