Don't depend on the TIME_WITH_SYS_TIME define. win32 doesn't have sys/time.h
authorDaniel Stenberg <daniel@haxx.se>
Tue, 22 Jul 2003 08:23:16 +0000 (08:23 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 22 Jul 2003 08:23:16 +0000 (08:23 +0000)
and I don't think we need it.

include/curl/curl.h

index ee6a2d7..4cde1ae 100644 (file)
 #define LIBCURL_VERSION_NUM 0x070a06
 
 #include <stdio.h>
-/* The include stuff here is mainly for time_t! */
+
+/* The include stuff here below is mainly for time_t! */
 #ifdef vms
 # include <types.h>
 # include <time.h>
 #else
 # include <sys/types.h>
-# ifdef TIME_WITH_SYS_TIME
-#  include <sys/time.h>
-#  include <time.h>
-# else
-#  include <sys/time.h>
-# endif
+# include <time.h>
 #endif /* defined (vms) */
 
 #ifndef TRUE