Commit c4a10daf authored by Dave Love's avatar Dave Love
Browse files

Use stdlib.h.

parent a36837e4
...@@ -42,6 +42,10 @@ extern char *strerror (); ...@@ -42,6 +42,10 @@ extern char *strerror ();
#include <fcntl.h> #include <fcntl.h>
#endif #endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef WINDOWSNT #ifdef WINDOWSNT
#define NOMINMAX #define NOMINMAX
#include <windows.h> #include <windows.h>
......
...@@ -23,6 +23,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -23,6 +23,9 @@ Boston, MA 02111-1307, USA. */
#include <sys/stat.h> #include <sys/stat.h>
#include <signal.h> #include <signal.h>
#include <config.h> #include <config.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef VMS #ifdef VMS
#include "vms-pwd.h" #include "vms-pwd.h"
......
...@@ -20,6 +20,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -20,6 +20,9 @@ Boston, MA 02111-1307, USA. */
#include <config.h> #include <config.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include "lisp.h" #include "lisp.h"
#include "intervals.h" #include "intervals.h"
#include "buffer.h" #include "buffer.h"
......
...@@ -21,6 +21,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -21,6 +21,9 @@ Boston, MA 02111-1307, USA. */
#include <signal.h> #include <signal.h>
#include <setjmp.h> #include <setjmp.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include <config.h> #include <config.h>
#include "lisp.h" #include "lisp.h"
......
...@@ -33,6 +33,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -33,6 +33,9 @@ Boston, MA 02111-1307, USA. */
/* On 4.3 this loses if it comes after xterm.h. */ /* On 4.3 this loses if it comes after xterm.h. */
#include <signal.h> #include <signal.h>
#include <config.h> #include <config.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include <stdio.h> #include <stdio.h>
#include "lisp.h" #include "lisp.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment