From c4a10daf1178fa5146f1024add12a6fb6e920278 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 18 Aug 1999 13:10:52 +0000 Subject: [PATCH] Use stdlib.h. --- src/callproc.c | 4 ++++ src/filelock.c | 3 +++ src/insdel.c | 3 +++ src/sysdep.c | 3 +++ src/xmenu.c | 3 +++ 5 files changed, 16 insertions(+) diff --git a/src/callproc.c b/src/callproc.c index 51a4f59e3c3..f135731bd4c 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -42,6 +42,10 @@ extern char *strerror (); #include #endif +#ifdef HAVE_STDLIB_H +#include +#endif + #ifdef WINDOWSNT #define NOMINMAX #include diff --git a/src/filelock.c b/src/filelock.c index 2a8e9b93c74..f1f9955f8f5 100644 --- a/src/filelock.c +++ b/src/filelock.c @@ -23,6 +23,9 @@ Boston, MA 02111-1307, USA. */ #include #include #include +#ifdef HAVE_STDLIB_H +#include +#endif #ifdef VMS #include "vms-pwd.h" diff --git a/src/insdel.c b/src/insdel.c index efb3303a070..0ea4924afc5 100644 --- a/src/insdel.c +++ b/src/insdel.c @@ -20,6 +20,9 @@ Boston, MA 02111-1307, USA. */ #include +#ifdef HAVE_STDLIB_H +#include +#endif #include "lisp.h" #include "intervals.h" #include "buffer.h" diff --git a/src/sysdep.c b/src/sysdep.c index cb14c7060c4..9668db3c7c6 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -21,6 +21,9 @@ Boston, MA 02111-1307, USA. */ #include #include +#ifdef HAVE_STDLIB_H +#include +#endif #include #include "lisp.h" diff --git a/src/xmenu.c b/src/xmenu.c index 173810bc035..2e8776fb9f8 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -33,6 +33,9 @@ Boston, MA 02111-1307, USA. */ /* On 4.3 this loses if it comes after xterm.h. */ #include #include +#ifdef HAVE_STDLIB_H +#include +#endif #include #include "lisp.h" -- 2.39.5