about summary refs log tree commit diff
path: root/include/compat/arpa
diff options
context:
space:
mode:
Diffstat (limited to 'include/compat/arpa')
-rw-r--r--include/compat/arpa/inet.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/compat/arpa/inet.h b/include/compat/arpa/inet.h
new file mode 100644
index 0000000..4422f41
--- /dev/null
+++ b/include/compat/arpa/inet.h
@@ -0,0 +1,15 @@
+/*
+ * Public domain
+ * arpa/inet.h compatibility shim
+ */
+
+#ifndef _WIN32
+#include_next <arpa/inet.h>
+#else
+#include <win32netcompat.h>
+
+#ifndef AI_ADDRCONFIG
+#define AI_ADDRCONFIG               0x00000400
+#endif
+
+#endif