From 77645b99f438be1a0906126be8052ad36761b1cd Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Thu, 22 May 2003 19:14:25 +0000 Subject: [PATCH] Add define for missing EAI_ADDRFAMILY in BSD/OS 4.3. --- src/include/port/bsdi.h | 5 +++++ 1 file changed, 5 insertions(+) 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 -- GitLab