From: Kurt Zeilenga Date: Thu, 27 Aug 1998 08:19:14 +0000 (+0000) Subject: Pulled NetBSD changes into current X-Git-Tag: PHP3_TOOL_0_0~111 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=926b7cb1c72611ac11d1376be8162b4f4207b162;p=openldap Pulled NetBSD changes into current --- diff --git a/include/Make-template b/include/Make-template index 7c59838fb5..8244b1a630 100644 --- a/include/Make-template +++ b/include/Make-template @@ -43,7 +43,7 @@ ldapconfig.h: ldapconfig.h.edit Makefile $(CHMOD) 444 $@ install: all FORCE - -$(MKDIR) -p $(INCLUDEDIR) + -$(MKDIR) -p $(LDAP_INCDIR) $(INSTALL) $(INSTALLFLAGS) -m 644 ldap.h $(LDAP_INCDIR) $(INSTALL) $(INSTALLFLAGS) -m 644 lber.h $(LDAP_INCDIR) $(INSTALL) $(INSTALLFLAGS) -m 644 proto-lber.h $(LDAP_INCDIR) diff --git a/include/portable.h b/include/portable.h index 8d08f6feff..808d0c0237 100644 --- a/include/portable.h +++ b/include/portable.h @@ -120,7 +120,8 @@ * Are sys_errlist and sys_nerr declared in stdio.h? */ #ifndef SYSERRLIST_IN_STDIO -#if defined( freebsd ) || defined( __GLIBC__ ) && ( __GLIBC__ > 1 ) +#if defined( freebsd ) || defined( netbsd ) || \ + defined( __GLIBC__ ) && ( __GLIBC__ > 1 ) #define SYSERRLIST_IN_STDIO #endif #endif