]> granicus.if.org Git - curl/commitdiff
Support Open Watcom C on Linux (as well as Windows).
authorDan Fandrich <dan@coneharvesters.com>
Wed, 2 Jul 2008 18:34:00 +0000 (18:34 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Wed, 2 Jul 2008 18:34:00 +0000 (18:34 +0000)
CHANGES
include/curl/curl.h
lib/if2ip.c

diff --git a/CHANGES b/CHANGES
index aa43d9ebd2f6cad2f3dd957ebba5df1bdbc04075..ed1213cb55f76b420c86425ec44f83e2eb52da17 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,9 @@
 
                                   Changelog
 
+Daniel Fandrich (2 Jul 2008)
+- Support Open Watcom C on Linux (as well as Windows).
+
 Yang Tse (2 Jul 2008)
 - The previously committed fix for bug report #1999181 prevented using the
   monotonic clock on any system without an always supported POSIX compliant
index 349a37714afe32c0d2581e40222931874bdf04ae..8182e9c2893e79c720d12d2b5a31a730a4fedaf0 100644 (file)
@@ -71,7 +71,7 @@
 #ifndef _WIN32_WCE
 #include <sys/socket.h>
 #endif
-#ifndef __WATCOMC__
+#if !defined(WIN32) || !defined(__WATCOMC__)
 #include <sys/time.h>
 #endif
 #include <sys/types.h>
index 18696e9e72c5d04fb7ee54191e8628cbde987300..94a09c11e53fd91e2adfa1f25373701520bedbd3 100644 (file)
@@ -39,7 +39,8 @@
  */
 #if !defined(WIN32) && !defined(__BEOS__) && !defined(__CYGWIN__) && \
     !defined(__riscos__) && !defined(__INTERIX) && !defined(NETWARE) && \
-    !defined(__AMIGA__) && !defined(__minix) && !defined(__SYMBIAN32__)
+    !defined(__AMIGA__) && !defined(__minix) && !defined(__SYMBIAN32__) && \
+    !defined(__WATCOMC__)
 
 #ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>