1
0
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:
Andreas Schwab 1999-08-30 15:07:30 +00:00
parent 9ee8cf9e1a
commit 1ee65e5c81

View File

@ -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