aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/port/bsdi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/port/bsdi.h b/src/include/port/bsdi.h
index f4865361132..e5ba051f239 100644
--- a/src/include/port/bsdi.h
+++ b/src/include/port/bsdi.h
@@ -8,3 +8,8 @@
#define HAS_TEST_AND_SET
typedef unsigned char slock_t;
+
+/* This is marked as obsoleted in BSD/OS 4.3. */
+#ifndef EAI_ADDRFAMILY
+#define EAI_ADDRFAMILY 1
+#endif