Mercurial > emacs
diff src/lread.c @ 14972:a6889b33d21c
[MSDOS]: If DJGPP version 2, include unistd.h.
Include msdos.h somewhat earlier.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 10 Apr 1996 04:10:14 +0000 |
parents | f5abde0d2904 |
children | e05dd165b889 |
line wrap: on
line diff
--- a/src/lread.c Wed Apr 10 03:55:16 1996 +0000 +++ b/src/lread.c Wed Apr 10 04:10:14 1996 +0000 @@ -40,6 +40,13 @@ #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 @@ #include <stdlib.h> #endif -#ifdef MSDOS -#include "msdos.h" -#endif - #include <math.h> #endif /* LISP_FLOAT_TYPE */