aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/enet/unix.h1
-rw-r--r--unix.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/enet/unix.h b/include/enet/unix.h
index a59e340..b55be33 100644
--- a/include/enet/unix.h
+++ b/include/enet/unix.h
@@ -9,6 +9,7 @@
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>
+#include <arpa/inet.h>
#include <netinet/in.h>
#include <unistd.h>
diff --git a/unix.c b/unix.c
index 4fa6287..a636f03 100644
--- a/unix.c
+++ b/unix.c
@@ -8,7 +8,6 @@
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/time.h>
-#include <arpa/inet.h>
#include <netinet/tcp.h>
#include <netdb.h>
#include <unistd.h>