Move cancelations up. Include <stdlib.h> if
available.
This commit is contained in:
parent
cb58ebb0cb
commit
2e0a5ae090
1 changed files with 10 additions and 6 deletions
|
@ -91,6 +91,12 @@ Boston, MA 02111-1307, USA. */
|
|||
#define DISABLE_DIRECT_ACCESS
|
||||
#endif /* WINDOWSNT */
|
||||
|
||||
/* Cancel substitutions made by config.h for Emacs. */
|
||||
#undef open
|
||||
#undef read
|
||||
#undef write
|
||||
#undef close
|
||||
|
||||
#ifdef USG
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
@ -106,6 +112,10 @@ Boston, MA 02111-1307, USA. */
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef STDC_HEADERS
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#if defined (XENIX) || defined (WINDOWSNT)
|
||||
#include <sys/locking.h>
|
||||
#endif
|
||||
|
@ -133,12 +143,6 @@ static char *mail_spool_name ();
|
|||
#endif
|
||||
#endif
|
||||
|
||||
/* Cancel substitutions made by config.h for Emacs. */
|
||||
#undef open
|
||||
#undef read
|
||||
#undef write
|
||||
#undef close
|
||||
|
||||
#ifndef errno
|
||||
extern int errno;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue