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