summaryrefslogtreecommitdiffhomepage
path: root/libs/nixio/src/sockopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/nixio/src/sockopt.c')
-rw-r--r--libs/nixio/src/sockopt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/nixio/src/sockopt.c b/libs/nixio/src/sockopt.c
index 7e063e4a38..c7fe9c2979 100644
--- a/libs/nixio/src/sockopt.c
+++ b/libs/nixio/src/sockopt.c
@@ -18,6 +18,10 @@
#include "nixio.h"
+#ifndef __WINNT__
+#include <net/if.h>
+#endif
+
#include <sys/types.h>
#include <sys/time.h>
#include <string.h>