changeset 25322:824b89fca192

Use stdlib.h.
author Dave Love <fx@gnu.org>
date Wed, 18 Aug 1999 13:10:52 +0000
parents 2ad9fa0386b6
children 5bc0a96405db
files src/callproc.c src/filelock.c src/insdel.c src/sysdep.c src/xmenu.c
diffstat 5 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Wed Aug 18 13:07:21 1999 +0000
+++ b/src/callproc.c	Wed Aug 18 13:10:52 1999 +0000
@@ -42,6 +42,10 @@
 #include <fcntl.h>
 #endif
 
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
 #ifdef WINDOWSNT
 #define NOMINMAX
 #include <windows.h>
--- a/src/filelock.c	Wed Aug 18 13:07:21 1999 +0000
+++ b/src/filelock.c	Wed Aug 18 13:10:52 1999 +0000
@@ -23,6 +23,9 @@
 #include <sys/stat.h>
 #include <signal.h>
 #include <config.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
 
 #ifdef VMS
 #include "vms-pwd.h"
--- a/src/insdel.c	Wed Aug 18 13:07:21 1999 +0000
+++ b/src/insdel.c	Wed Aug 18 13:10:52 1999 +0000
@@ -20,6 +20,9 @@
 
 
 #include <config.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
 #include "lisp.h"
 #include "intervals.h"
 #include "buffer.h"
--- a/src/sysdep.c	Wed Aug 18 13:07:21 1999 +0000
+++ b/src/sysdep.c	Wed Aug 18 13:10:52 1999 +0000
@@ -21,6 +21,9 @@
 
 #include <signal.h>
 #include <setjmp.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
 
 #include <config.h>
 #include "lisp.h"
--- a/src/xmenu.c	Wed Aug 18 13:07:21 1999 +0000
+++ b/src/xmenu.c	Wed Aug 18 13:10:52 1999 +0000
@@ -33,6 +33,9 @@
 /* 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"