]> granicus.if.org Git - curl/commitdiff
include sys/time.h, we didn't have a time() proto anymore. Did one of the
authorDaniel Stenberg <daniel@haxx.se>
Tue, 27 May 2003 22:56:01 +0000 (22:56 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 27 May 2003 22:56:01 +0000 (22:56 +0000)
changes in curl/curl.h make this occur?

src/main.c

index 85f3b31637d0478c984ab22ecbeee6e701faef20..80faf9a99ffec3d18a33d9b80bc482943ed401b0 100644 (file)
 #include <winsock.h>
 #endif
 
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
+
 #include "version.h"
 
 #ifdef HAVE_IO_H /* typical win32 habit */