aboutsummaryrefslogtreecommitdiffstats
path: root/lib/src/name.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/name.h')
-rw-r--r--lib/src/name.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/src/name.h b/lib/src/name.h
index ffcb4a451..0fe8f7446 100644
--- a/lib/src/name.h
+++ b/lib/src/name.h
@@ -25,8 +25,9 @@
#define HICN_NAME_H
#include <stdbool.h>
+#ifndef _WIN32
#include <netinet/in.h> // struct sockadd
-
+#endif
#include "common.h"
/******************************************************************************