From ceef206c21a763095ce407982a4963cdbb8afa92 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 3 Jun 2003 08:07:06 +0000 Subject: include the time headers just like we used to do in the curl/curl.h header once upon the time --- src/main.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 6585adc81..3a7139d81 100644 --- a/src/main.c +++ b/src/main.c @@ -50,10 +50,19 @@ #include #endif -#ifdef HAVE_SYS_TIME_H +#ifdef TIME_WITH_SYS_TIME +/* We can include both fine */ #include +#include +#else +#ifdef HAVE_SYS_TIME_H +# include +#else +# include +#endif #endif + #include "version.h" #ifdef HAVE_IO_H /* typical win32 habit */ -- cgit v1.2.3