]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Make sure sys/socket.h is included before netinet/in.h (required by
authorDan Fandrich <dan@coneharvesters.com>
Tue, 2 Dec 2008 02:58:04 +0000 (02:58 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 2 Dec 2008 02:58:04 +0000 (02:58 +0000)
OpenWatcom C, and condoned by SUS)

ares/acountry.c

index 37aed60b7724630217bd90a4aa52430b76649f01..9b3533410e4f4f5b0d41e78eff0f80b9f0204a8c 100644 (file)
@@ -50,6 +50,7 @@
 #if defined(WIN32) && !defined(WATT32)
   #include <winsock.h>
 #else
+  #include <sys/socket.h>
   #include <arpa/inet.h>
   #include <netinet/in.h>
   #include <netdb.h>