From: Todd C. Miller Date: Wed, 6 Oct 1993 01:48:53 +0000 (+0000) Subject: now declare strdup as extern X-Git-Tag: SUDO_1_3_0~89 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=11dfd7ef4b1aa3a2e35c90a65154d0b1342ca73c;p=sudo now declare strdup as extern --- diff --git a/find_path.c b/find_path.c index b5d109425..a23b2b0c9 100644 --- a/find_path.c +++ b/find_path.c @@ -61,6 +61,9 @@ extern char *getcwd(); #else extern char *getwd(); #endif +#ifndef NEED_STRDUP +extern char *strdup(); +#endif /******************************************************************* diff --git a/sudo.c b/sudo.c index 2952a3748..9f9ae7a18 100644 --- a/sudo.c +++ b/sudo.c @@ -55,6 +55,9 @@ #include #include "sudo.h" extern char *malloc(); +#ifndef NEED_STRDUP +extern char *strdup(); +#endif int Argc; char **Argv;