summaryrefslogtreecommitdiffstats
path: root/hicn-light/src/utils/commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-light/src/utils/commands.h')
-rw-r--r--hicn-light/src/utils/commands.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/hicn-light/src/utils/commands.h b/hicn-light/src/utils/commands.h
index 2f8ebcbfe..e276d8dd2 100644
--- a/hicn-light/src/utils/commands.h
+++ b/hicn-light/src/utils/commands.h
@@ -23,10 +23,14 @@
#ifndef commands_h
#define commands_h
+#ifndef _WIN32
#include <netinet/in.h>
+#include <sys/socket.h>
+#endif
+#include <src/config.h>
+
#include <stdint.h>
#include <stdlib.h>
-#include <sys/socket.h>
typedef struct in6_addr ipv6_addr_t;
typedef uint32_t ipv4_addr_t;