mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-01 21:30:54 -08:00
Include <stdlib.h> if available. Don't declare errno if it's a macro.
This commit is contained in:
parent
9ee8cf9e1a
commit
1ee65e5c81
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue