From eb09cb8fa5d900123732bc2613c9ff07efed83e7 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 21 Nov 1995 21:27:08 +0000 Subject: [PATCH] now includes string.h for strdup() prototype --- getspwuid.c | 6 ++++++ 1 file changed, 6 insertions(+) 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 */ -- 2.40.0