summaryrefslogtreecommitdiff
path: root/lib/timeval.h
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-08-29 18:45:55 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-08-29 18:45:55 +0000
commit59cf6fd4f058917839a407f5a206f5f1c1a004a6 (patch)
treecc4800cc4cd220351c1475b9f3f6acaff6549bee /lib/timeval.h
parent6de9732a8869f8a7b07ad9b393984a838c1dc566 (diff)
downloadcurl-59cf6fd4f058917839a407f5a206f5f1c1a004a6.tar.gz
Watcom lacks <sys/time.h>.
Diffstat (limited to 'lib/timeval.h')
-rw-r--r--lib/timeval.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/timeval.h b/lib/timeval.h
index 6be5e4276..a03ba2a6e 100644
--- a/lib/timeval.h
+++ b/lib/timeval.h
@@ -33,8 +33,10 @@
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
#include <time.h>
#else
+#ifndef __WATCOMC__ /* todo: Add HAVE_SYS_TIME_H */
#include <sys/time.h>
#endif
+#endif
#ifndef HAVE_GETTIMEOFDAY
#if !defined(_WINSOCKAPI_) && !defined(__MINGW32__) && !defined(_AMIGASF) && \