From 41234c28197e2a98f9d63b87209d80dd04e8daa9 Mon Sep 17 00:00:00 2001 From: Bart Hartgers Date: Sun, 17 Jan 1999 15:27:30 +0000 Subject: [PATCH] Fixed my own stupid mistake of not noticing the 'n' in #ifndef. strdup should work as it was again... --- include/ac/string.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 /* -- 2.39.5