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