summaryrefslogtreecommitdiffstats
path: root/hicn-light/src/core/dispatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-light/src/core/dispatcher.h')
-rw-r--r--hicn-light/src/core/dispatcher.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hicn-light/src/core/dispatcher.h b/hicn-light/src/core/dispatcher.h
index 35d804a00..96bceb451 100644
--- a/hicn-light/src/core/dispatcher.h
+++ b/hicn-light/src/core/dispatcher.h
@@ -28,8 +28,10 @@
#ifndef dispatcher_h
#define dispatcher_h
-#include <stdbool.h>
+#ifndef _WIN32
#include <sys/socket.h>
+#endif
+#include <stdbool.h>
struct dispatcher;
typedef struct dispatcher Dispatcher;