Skip to content
Snippets Groups Projects
Commit 13f169ee authored by Ben Collins's avatar Ben Collins
Browse files

Only declare strdup() if DECL_STRDUP is defined

parent e732e122
No related branches found
No related tags found
No related merge requests found
......@@ -55,8 +55,10 @@ extern char *ldap_pvt_strdup( const char * s );
# undef strdup
# define strdup(s) ldap_pvt_strdup(s)
#else
/* some systems fail to declare strdup */
extern char *strdup();
# ifdef DECL_STRDUP
/* some systems fail to declare strdup */
extern char *strdup();
# endif
#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