Only declare strdup() if DECL_STRDUP is defined

This commit is contained in:
Ben Collins 1999-03-15 00:19:46 +00:00
parent e732e12279
commit 13f169ee54

View File

@ -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
/*