Skip to content
Snippets Groups Projects
Commit 41234c28 authored by Bart Hartgers's avatar Bart Hartgers
Browse files

Fixed my own stupid mistake of not noticing the 'n' in #ifndef. strdup
should work as it was again...
parent d6dc9491
No related branches found
No related tags found
No related merge requests found
......@@ -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
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment