]> granicus.if.org Git - sudo/commitdiff
include stdlib.h for malloc proto
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 24 Jun 1998 16:22:26 +0000 (16:22 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 24 Jun 1998 16:22:26 +0000 (16:22 +0000)
testsudoers.c
tgetpass.c

index 206b2916d12a08a17bf6a4ad5fa6d42c66ec3d09..1b017c02bd703e4067d008f54a1ccee6e3814986 100644 (file)
@@ -31,6 +31,9 @@ static char rcsid[] = "$Id$";
 #include "config.h"
 
 #include <stdio.h>
+#ifdef STDC_HEADERS
+#  include <stdlib.h>
+#endif /* STDC_HEADERS */
 #ifdef HAVE_UNISTD_H
 #  include <unistd.h>
 #endif /* HAVE_UNISTD_H */
index bd9dad535752768db32aef0738b8177bcae061e5..2dc705da6a4edfecda072b42a4def36e428f82f1 100644 (file)
@@ -33,6 +33,9 @@ static char rcsid[] = "$Id$";
 #include "config.h"
 
 #include <stdio.h>
+#ifdef STDC_HEADERS
+#include <stdlib.h>
+#endif /* STDC_HEADERS */
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif /* HAVE_UNISTD_H */