aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-05-22 19:14:25 +0000
committerBruce Momjian <bruce@momjian.us>2003-05-22 19:14:25 +0000
commit77645b99f438be1a0906126be8052ad36761b1cd (patch)
tree1eeceeaa459360de3643cde636aa479ee0e575bb
parentd23f6f8bb79644c992d96f9f5f6d48b38ac8ca33 (diff)
downloadpostgresql-77645b99f438be1a0906126be8052ad36761b1cd.tar.gz
postgresql-77645b99f438be1a0906126be8052ad36761b1cd.zip
Add define for missing EAI_ADDRFAMILY in BSD/OS 4.3.
-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