summaryrefslogtreecommitdiff
path: root/acountry.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-12-02 02:58:04 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-12-02 02:58:04 +0000
commitefa7c4807b26bf919b72d9392a036601a88b717b (patch)
tree401b78227573a8f6f97391e07753b3b8a8e5bfe5 /acountry.c
parent7ff288f0b98fd0c4dc2299d556a4a7a71b0505c2 (diff)
downloadc-ares-efa7c4807b26bf919b72d9392a036601a88b717b.tar.gz
c-ares-efa7c4807b26bf919b72d9392a036601a88b717b.tar.bz2
c-ares-efa7c4807b26bf919b72d9392a036601a88b717b.zip
Make sure sys/socket.h is included before netinet/in.h (required by
OpenWatcom C, and condoned by SUS)
Diffstat (limited to 'acountry.c')
-rw-r--r--acountry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/acountry.c b/acountry.c
index 37aed60..9b35334 100644
--- a/acountry.c
+++ b/acountry.c
@@ -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>