pkgsrc/devel/ldapsdk/patches/patch-aa

22 lines
1.1 KiB
Text

$NetBSD: patch-aa,v 1.1.1.1 1999/05/18 21:22:27 hwr Exp $
--- directory/c-sdk/ldap/include/portable.h.orig Thu Dec 31 12:28:20 1998
+++ directory/c-sdk/ldap/include/portable.h Tue May 18 21:53:54 1999
@@ -228,7 +228,7 @@
defined(UNIXWARE) || defined(SUNOS4) || defined(SNI) || defined(BSDI) || \
defined(NCR) || defined(OSF1) || defined(NEC) || \
( defined(HPUX10) && !defined(_REENTRANT)) || defined(HPUX11) || \
- defined(UnixWare) || defined(LINUX2_0)
+ defined(UnixWare) || defined(LINUX2_0) || defined(NETBSD)
#define GETHOSTBYNAME( n, r, b, l, e ) gethostbyname( n )
#elif defined(AIX)
/* Maybe this is for another version of AIX?
@@ -250,7 +250,7 @@
#define GETHOSTBYNAME( n, r, b, l, e ) gethostbyname_r( n, r, b, l, e )
#endif
#if defined(HPUX9) || defined(LINUX1_2) || defined(SUNOS4) || defined(SNI) || \
- defined(SCOOS) || defined(BSDI) || defined(NCR) || \
+ defined(SCOOS) || defined(BSDI) || defined(NCR) || defined(NETBSD) || \
defined(NEC) || ( defined(HPUX10) && !defined(_REENTRANT))
#define CTIME( c, b, l ) ctime( c )
#elif defined(HPUX10) && defined(_REENTRANT)