mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-25 10:47:00 +00:00
Include <stdlib.h> if available. Don't declare errno if it's a macro.
This commit is contained in:
parent
9ee8cf9e1a
commit
1ee65e5c81
@ -65,7 +65,13 @@ void fatal_error ();
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef STDC_HEADERS
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#ifndef errno
|
||||
extern int errno;
|
||||
#endif
|
||||
|
||||
/* Copied from src/process.c */
|
||||
#ifdef FD_SET
|
||||
|
Loading…
Reference in New Issue
Block a user