]> git.eshelyaron.com Git - emacs.git/commitdiff
Include <stdlib.h> if available.
authorAndreas Schwab <schwab@suse.de>
Mon, 30 Aug 1999 15:08:30 +0000 (15:08 +0000)
committerAndreas Schwab <schwab@suse.de>
Mon, 30 Aug 1999 15:08:30 +0000 (15:08 +0000)
lib-src/fakemail.c
lib-src/make-docfile.c

index eca660e6808bae0bbada2ca0e5aed25d1383ff4c..946165c2a283c5c22f8369c4764842e9c9ecc59f 100644 (file)
@@ -69,6 +69,10 @@ main ()
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+
+#ifdef STDC_HEADERS
+#include <stdlib.h>
+#endif
 \f
 /* Type definitions */
 
index 82e7f7c4efd62160ee4176108757bb4ff509ff85..cfa0685e94432a26c1f5ef21b602d6c26c2a7c17 100644 (file)
@@ -67,6 +67,10 @@ int scan_c_file ();
 #include <unistd.h>
 #endif
 
+#ifdef STDC_HEADERS
+#include <stdlib.h>
+#endif
+
 /* Stdio stream for output to the DOC file.  */
 FILE *outfile;