aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/curl/curl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 0aaad88fa..b7555e0be 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -77,7 +77,7 @@
#ifndef _WIN32_WCE
#include <sys/socket.h>
#endif
-#if !defined(WIN32) || !defined(__WATCOMC__)
+#if !defined(WIN32) && !defined(__WATCOMC__)
#include <sys/time.h>
#endif
#include <sys/types.h>