summaryrefslogtreecommitdiffstats
path: root/hicn-light/src/io/tcpListener.h
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-light/src/io/tcpListener.h')
-rw-r--r--hicn-light/src/io/tcpListener.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hicn-light/src/io/tcpListener.h b/hicn-light/src/io/tcpListener.h
index c5d1e33af..9664b32b0 100644
--- a/hicn-light/src/io/tcpListener.h
+++ b/hicn-light/src/io/tcpListener.h
@@ -25,7 +25,10 @@
#ifndef tcpListener_h
#define tcpListener_h
+#ifndef _WIN32
#include <netinet/in.h>
+#endif
+
#include <src/core/forwarder.h>
#include <src/io/listener.h>
#include <stdlib.h>