summaryrefslogtreecommitdiff
path: root/lib/cookie.h
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-08-30 16:17:06 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-08-30 16:17:06 +0000
commitc7aae1030004da71c7c046fd6af259f91bbfa991 (patch)
tree168305d0b97e2d27c85ea465924563d1417919e0 /lib/cookie.h
parent909941405f2bb6c5209024ce0f41905d1fcdc4a7 (diff)
downloadcurl-c7aae1030004da71c7c046fd6af259f91bbfa991.tar.gz
Removed "#ifndef__WATCOMC__". Use "#ifdef HAVE_SYS_TIME_H" instead.
Diffstat (limited to 'lib/cookie.h')
-rw-r--r--lib/cookie.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/cookie.h b/lib/cookie.h
index 6d1b065b2..57c3acbdd 100644
--- a/lib/cookie.h
+++ b/lib/cookie.h
@@ -24,11 +24,13 @@
***************************************************************************/
#include <stdio.h>
-#if defined(WIN32) || defined(__WATCOMC__)
+#if defined(WIN32)
#include <time.h>
#else
+#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
+#endif
#include <curl/curl.h>