aboutsummaryrefslogtreecommitdiff
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
commit16a153468db1919e6d5e5389929d329837714462 (patch)
treeda15f2b1435ee16bfbdf74b35d5adacc0ca7411b
parentb062212e55a271e8829307fa82fec46dae4b3775 (diff)
Make sure sys/socket.h is included before netinet/in.h (required by
OpenWatcom C, and condoned by SUS)
-rw-r--r--ares/acountry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ares/acountry.c b/ares/acountry.c
index 37aed60b7..9b3533410 100644
--- a/ares/acountry.c
+++ b/ares/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>