From 926b7cb1c72611ac11d1376be8162b4f4207b162 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 27 Aug 1998 08:19:14 +0000 Subject: [PATCH] Pulled NetBSD changes into current --- include/Make-template | 2 +- include/portable.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.39.5