aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-05-27 22:56:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-05-27 22:56:01 +0000
commit5670563a26621b09433960db22ad8b5f662e0396 (patch)
tree9180c6081373016c0afaa35556addb8dda248140 /src
parent6caa656d019ef048d283e1e6cbc820e1f6d2ab9f (diff)
include sys/time.h, we didn't have a time() proto anymore. Did one of the
changes in curl/curl.h make this occur?
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 85f3b3163..80faf9a99 100644
--- a/src/main.c
+++ b/src/main.c
@@ -50,6 +50,10 @@
#include <winsock.h>
#endif
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
+
#include "version.h"
#ifdef HAVE_IO_H /* typical win32 habit */