Include <stdlib.h> if available. Declare errno only if it is not a macro.
This commit is contained in:
parent
92939d319a
commit
9ee9af7aa2
1 changed files with 5 additions and 3 deletions
|
@ -21,11 +21,11 @@ Boston, MA 02111-1307, USA. */
|
|||
|
||||
#include <signal.h>
|
||||
#include <setjmp.h>
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#include <config.h>
|
||||
#ifdef STDC_HEADERS
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
#include "lisp.h"
|
||||
#include "blockinput.h"
|
||||
#undef NULL
|
||||
|
@ -101,7 +101,9 @@ extern unsigned start __asm__ ("start");
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef errno
|
||||
extern int errno;
|
||||
#endif
|
||||
|
||||
#ifdef VMS
|
||||
#include <rms.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue