aboutsummaryrefslogtreecommitdiffstats
path: root/lib/src/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/compat.c')
-rw-r--r--lib/src/compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/src/compat.c b/lib/src/compat.c
index 8b558a56e..07f92105e 100644
--- a/lib/src/compat.c
+++ b/lib/src/compat.c
@@ -17,8 +17,9 @@
* @file compat.c
* @brief Implementation of the compatibility layer.
*/
-
+#ifndef _WIN32
#include <netinet/in.h>
+#endif
#include <string.h> // memset
#include <stddef.h> // offsetof