From: Todd C. Miller Date: Wed, 24 Jun 1998 16:22:26 +0000 (+0000) Subject: include stdlib.h for malloc proto X-Git-Tag: SUDO_1_5_6~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b2b9eb8ef2c9a28a1318d9867264713a2803ea4;p=sudo include stdlib.h for malloc proto --- diff --git a/testsudoers.c b/testsudoers.c index 206b2916d..1b017c02b 100644 --- a/testsudoers.c +++ b/testsudoers.c @@ -31,6 +31,9 @@ static char rcsid[] = "$Id$"; #include "config.h" #include +#ifdef STDC_HEADERS +# include +#endif /* STDC_HEADERS */ #ifdef HAVE_UNISTD_H # include #endif /* HAVE_UNISTD_H */ diff --git a/tgetpass.c b/tgetpass.c index bd9dad535..2dc705da6 100644 --- a/tgetpass.c +++ b/tgetpass.c @@ -33,6 +33,9 @@ static char rcsid[] = "$Id$"; #include "config.h" #include +#ifdef STDC_HEADERS +#include +#endif /* STDC_HEADERS */ #ifdef HAVE_UNISTD_H #include #endif /* HAVE_UNISTD_H */