summaryrefslogtreecommitdiff
path: root/buildlib/netdb.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'buildlib/netdb.h.in')
-rw-r--r--buildlib/netdb.h.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/buildlib/netdb.h.in b/buildlib/netdb.h.in
new file mode 100644
index 000000000..1babd7657
--- /dev/null
+++ b/buildlib/netdb.h.in
@@ -0,0 +1,5 @@
+/* Fix broken(?) unixen. */
+#ifdef NEED_SOCKLEN_T_DEFINE
+ #define socklen_t size_t
+#endif
+#include_next <netdb.h>