changeset 25449:7ebe942c4a9c

Include <stdlib.h> if available.
author Andreas Schwab <schwab@suse.de>
date Mon, 30 Aug 1999 15:08:30 +0000
parents 95f7147cb572
children b5c133b3bfa0
files lib-src/fakemail.c lib-src/make-docfile.c
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/fakemail.c	Mon Aug 30 15:07:30 1999 +0000
+++ b/lib-src/fakemail.c	Mon Aug 30 15:08:30 1999 +0000
@@ -69,6 +69,10 @@
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+
+#ifdef STDC_HEADERS
+#include <stdlib.h>
+#endif
 
 /* Type definitions */
 
--- a/lib-src/make-docfile.c	Mon Aug 30 15:07:30 1999 +0000
+++ b/lib-src/make-docfile.c	Mon Aug 30 15:08:30 1999 +0000
@@ -67,6 +67,10 @@
 #include <unistd.h>
 #endif
 
+#ifdef STDC_HEADERS
+#include <stdlib.h>
+#endif
+
 /* Stdio stream for output to the DOC file.  */
 FILE *outfile;