summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ip.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ip.cpp b/src/ip.cpp
index 5d81f26..e1f0e6b 100644
--- a/src/ip.cpp
+++ b/src/ip.cpp
@@ -28,6 +28,7 @@
#include <fcntl.h>
#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <netinet/tcp.h>
#endif