summaryrefslogtreecommitdiffstats
path: root/hicn-light/src/utils/utils.c
diff options
context:
space:
mode:
authorLuca Muscariello <lumuscar+fdio@cisco.com>2019-02-01 20:00:21 +0000
committerGerrit Code Review <gerrit@fd.io>2019-02-01 20:00:21 +0000
commit79f9c336d9d8af63e322e3c52f09fec3d7cb3c2b (patch)
tree7674e218ee813ff7aec6868ab86a1dd6c40af28f /hicn-light/src/utils/utils.c
parente8fabe3f6313a3b9050fe16458e4714d9dce426e (diff)
parentf5a0b8a5e24cede05e15ab696f0e15257a503525 (diff)
Merge "[HICN24] Windows compatibility for hicn-light"
Diffstat (limited to 'hicn-light/src/utils/utils.c')
-rw-r--r--hicn-light/src/utils/utils.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/hicn-light/src/utils/utils.c b/hicn-light/src/utils/utils.c
index a41478a4b..3ab837eeb 100644
--- a/hicn-light/src/utils/utils.c
+++ b/hicn-light/src/utils/utils.c
@@ -1,17 +1,19 @@
// Utility function for commands
-#include <ctype.h>
+#ifndef _WIN32
#include <netinet/in.h>
-#include <pthread.h>
+#endif
+
+#include <ctype.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
-#include <strings.h>
#include <parc/algol/parc_Memory.h>
#include <parc/algol/parc_Network.h>
#include <parc/assert/parc_Assert.h>
+#include <pthread.h>
#include <src/utils/utils.h>
// This is the unique sequence number used by all messages and its thread locks