Use stdlib.h.
authorDave Love <fx@gnu.org>
Wed, 18 Aug 1999 13:10:52 +0000 (13:10 +0000)
committerDave Love <fx@gnu.org>
Wed, 18 Aug 1999 13:10:52 +0000 (13:10 +0000)
src/callproc.c
src/filelock.c
src/insdel.c
src/sysdep.c
src/xmenu.c

index 51a4f59..f135731 100644 (file)
@@ -42,6 +42,10 @@ extern char *strerror ();
 #include <fcntl.h>
 #endif
 
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
 #ifdef WINDOWSNT
 #define NOMINMAX
 #include <windows.h>
index 2a8e9b9..f1f9955 100644 (file)
@@ -23,6 +23,9 @@ Boston, MA 02111-1307, USA.  */
 #include <sys/stat.h>
 #include <signal.h>
 #include <config.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
 
 #ifdef VMS
 #include "vms-pwd.h"
index efb3303..0ea4924 100644 (file)
@@ -20,6 +20,9 @@ Boston, MA 02111-1307, USA.  */
 
 
 #include <config.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
 #include "lisp.h"
 #include "intervals.h"
 #include "buffer.h"
index cb14c70..9668db3 100644 (file)
@@ -21,6 +21,9 @@ Boston, MA 02111-1307, USA.  */
 
 #include <signal.h>
 #include <setjmp.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
 
 #include <config.h>
 #include "lisp.h"
index 173810b..2e8776f 100644 (file)
@@ -33,6 +33,9 @@ Boston, MA 02111-1307, USA.  */
 /* On 4.3 this loses if it comes after xterm.h.  */
 #include <signal.h>
 #include <config.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
 
 #include <stdio.h>
 #include "lisp.h"