$(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)
* 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