Mercurial > emacs
changeset 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 | 497b73cc5818 |
children | 1a852b90dc3e |
files | src/lread.c |
diffstat | 1 files changed, 7 insertions(+), 4 deletions(-) [+] |
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 */