summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2014-11-07 21:46:58 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-11-07 21:47:15 +0100
commit20db59c0db3a29e834bd4b82b99e46b6ae891777 (patch)
treec20e61541f1cc2aa0516253f29148fb9df1efadf
parent553c651fc70bc978f5a26a44d07594192e90a0ae (diff)
downloadgnutls-20db59c0db3a29e834bd4b82b99e46b6ae891777.tar.gz
tools: include arpa/inet.h in socket.c
-rw-r--r--src/socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socket.c b/src/socket.c
index 82c6252faa..82ec56a434 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -47,6 +47,7 @@
#include <stdlib.h>
#include <unistd.h>
#ifndef _WIN32
+#include <arpa/inet.h>
#include <signal.h>
#endif
#include <socket.h>