From: Bart Hartgers Date: Sun, 17 Jan 1999 15:27:30 +0000 (+0000) Subject: Fixed my own stupid mistake of not noticing the 'n' in #ifndef. strdup X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~763 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=41234c28197e2a98f9d63b87209d80dd04e8daa9;p=openldap Fixed my own stupid mistake of not noticing the 'n' in #ifndef. strdup should work as it was again... --- diff --git a/include/ac/string.h b/include/ac/string.h index 744b4adabc..8cf7bf0e04 100644 --- a/include/ac/string.h +++ b/include/ac/string.h @@ -44,11 +44,11 @@ #ifndef HAVE_STRDUP /* strdup() is missing, declare our own version */ - extern char *strdup( const char *s ); -#else - /* provide our own strdup */ extern char *ldap_pvt_strdup( const char * s ); # define strdup ldap_pvt_strdup +#else + /* some systems fail to declare strdup */ + extern char *strdup(); #endif /*