Pulled NetBSD changes into current

This commit is contained in:
Kurt Zeilenga 1998-08-27 08:19:14 +00:00
parent 5c5209f973
commit 926b7cb1c7
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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