diff options
| author | Richard M. Stallman | 1996-04-10 04:10:14 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-04-10 04:10:14 +0000 |
| commit | 79051982ae6792f60092a25b6a18e78e413cc90a (patch) | |
| tree | d553f6f72c6d1eb885cb45e8da219cd771b57226 | |
| parent | 15614e61bb5c76eb448d666797e5f75eae17f71f (diff) | |
| download | emacs-79051982ae6792f60092a25b6a18e78e413cc90a.tar.gz emacs-79051982ae6792f60092a25b6a18e78e413cc90a.zip | |
[MSDOS]: If DJGPP version 2, include unistd.h.
Include msdos.h somewhat earlier.
| -rw-r--r-- | src/lread.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/lread.c b/src/lread.c index 11fc04a4f6e..f90bdb2ef2d 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -40,6 +40,13 @@ Boston, MA 02111-1307, USA. */ | |||
| 40 | #include <sys/inode.h> | 40 | #include <sys/inode.h> |
| 41 | #endif /* lint */ | 41 | #endif /* lint */ |
| 42 | 42 | ||
| 43 | #ifdef MSDOS | ||
| 44 | #if __DJGPP__ < 2 | ||
| 45 | #include <unistd.h> /* to get X_OK */ | ||
| 46 | #endif | ||
| 47 | #include "msdos.h" | ||
| 48 | #endif | ||
| 49 | |||
| 43 | #ifndef X_OK | 50 | #ifndef X_OK |
| 44 | #define X_OK 01 | 51 | #define X_OK 01 |
| 45 | #endif | 52 | #endif |
| @@ -49,10 +56,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 49 | #include <stdlib.h> | 56 | #include <stdlib.h> |
| 50 | #endif | 57 | #endif |
| 51 | 58 | ||
| 52 | #ifdef MSDOS | ||
| 53 | #include "msdos.h" | ||
| 54 | #endif | ||
| 55 | |||
| 56 | #include <math.h> | 59 | #include <math.h> |
| 57 | #endif /* LISP_FLOAT_TYPE */ | 60 | #endif /* LISP_FLOAT_TYPE */ |
| 58 | 61 | ||