mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-02 08:22:22 +00:00
[MSDOS]: If DJGPP version 2, include unistd.h.
Include msdos.h somewhat earlier.
This commit is contained in:
parent
15614e61bb
commit
79051982ae
11
src/lread.c
11
src/lread.c
@ -40,6 +40,13 @@ Boston, MA 02111-1307, USA. */
|
||||
#include <sys/inode.h>
|
||||
#endif /* lint */
|
||||
|
||||
#ifdef MSDOS
|
||||
#if __DJGPP__ < 2
|
||||
#include <unistd.h> /* to get X_OK */
|
||||
#endif
|
||||
#include "msdos.h"
|
||||
#endif
|
||||
|
||||
#ifndef X_OK
|
||||
#define X_OK 01
|
||||
#endif
|
||||
@ -49,10 +56,6 @@ Boston, MA 02111-1307, USA. */
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef MSDOS
|
||||
#include "msdos.h"
|
||||
#endif
|
||||
|
||||
#include <math.h>
|
||||
#endif /* LISP_FLOAT_TYPE */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user