summaryrefslogtreecommitdiffhomepage
path: root/libs/nixio/src/sockopt.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-04-26 19:10:36 +0000
committerSteven Barth <steven@midlink.org>2009-04-26 19:10:36 +0000
commitd81b3548a92a7a9db95d2587d6d15aebdc9b8652 (patch)
tree0ce5776c20b7864c8275fe582e738552cc8ae8e2 /libs/nixio/src/sockopt.c
parenta8da3a09a3fb34327cf02306726dad640e309f20 (diff)
nixio:
Added binding for getifaddrs(): List network interfaces, their flags, addresses and statistics Cleanups
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 7e063e4a3..c7fe9c297 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>