2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 13:58:05 +00:00

include stdlib.h for malloc proto

This commit is contained in:
Todd C. Miller 1998-06-24 16:22:26 +00:00
parent 30a4518180
commit 2b2b9eb8ef
2 changed files with 6 additions and 0 deletions

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

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