summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>