Control: tags -1 + patch

This patch will get ifdata building and working on OS X.
diff --git a/ifdata.c b/ifdata.c
index 031bc19..6d7ed6f 100644
--- a/ifdata.c
+++ b/ifdata.c
@@ -18,6 +18,11 @@
 	#include <net/if.h>
 #endif
 
+#if defined(__APPLE__)
+	#define s6_addr16 __u6_addr.__u6_addr16
+	#include <net/if.h>
+#endif
+
 #include <netinet/in.h>
 #include <errno.h>
 #include <fcntl.h>

Reply via email to