diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index 6c2f2b118c..aa273848bc 100644 --- a/clients/tools/ldapmodify.c +++ b/clients/tools/ldapmodify.c @@ -27,6 +27,8 @@ #include #include +#include + static char *prog; static char *binddn = NULL; static char *passwd = NULL; diff --git a/clients/tools/ldappasswd.c b/clients/tools/ldappasswd.c index 597d5d1ecb..a3e37e1f49 100644 --- a/clients/tools/ldappasswd.c +++ b/clients/tools/ldappasswd.c @@ -189,7 +189,7 @@ hash_crypt (const char *pw_in, Salt * salt) crypted_pw = crypt (pw_in, (char *)lsalt.salt); free (lsalt.salt); } - return (STRDUP (crypted_pw)); + return (strdup (crypted_pw)); } #endif