From: Todd C. Miller Date: Tue, 21 Nov 1995 21:27:08 +0000 (+0000) Subject: now includes string.h for strdup() prototype X-Git-Tag: SUDO_1_4_0~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb09cb8fa5d900123732bc2613c9ff07efed83e7;p=sudo now includes string.h for strdup() prototype --- diff --git a/getspwuid.c b/getspwuid.c index 905bd7dfa..d136df406 100644 --- a/getspwuid.c +++ b/getspwuid.c @@ -37,6 +37,12 @@ static char rcsid[] = "$Id$"; #ifdef STDC_HEADERS #include #endif /* STDC_HEADERS */ +#if defined(HAVE_MALLOC_H) && !defined(STDC_HEADERS) +#include +#endif /* HAVE_MALLOC_H && !STDC_HEADERS */ +#ifdef HAVE_STRING_H +#include +#endif /* HAVE_STRING_H */ #ifdef HAVE_UNISTD_H #include #endif /* HAVE_UNISTD_H */