]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/dsparse.c
Add libtool support based upon patch by Bart Hartgers <Hartgers@kfm1.phys.tue.nl>
[openldap] / libraries / libldap / dsparse.c
index e0a40daa1df4195968ba28fca9874f165916fde9..836e2c9007dcffa675e36a22c0d5bdb461aca9e7 100644 (file)
@@ -23,7 +23,6 @@
 #include <ac/ctype.h>
 #include <ac/string.h>
 #include <ac/time.h>
-extern char *strdup (const char *);
 
 #ifdef HAVE_SYS_FILE_H
 #include <sys/file.h>
@@ -189,7 +188,7 @@ next_token( char **sp )
        return( NULL );
     }
 
-    return( strdup( tokstart ));
+    return( ldap_strdup( tokstart ));
 }