From: Richard M. Stallman Date: Wed, 10 Apr 1996 04:10:14 +0000 (+0000) Subject: [MSDOS]: If DJGPP version 2, include unistd.h. X-Git-Tag: emacs-19.34~888 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=79051982ae6792f60092a25b6a18e78e413cc90a;p=emacs.git [MSDOS]: If DJGPP version 2, include unistd.h. Include msdos.h somewhat earlier. --- 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. */ #include #endif /* lint */ +#ifdef MSDOS +#if __DJGPP__ < 2 +#include /* 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 #endif -#ifdef MSDOS -#include "msdos.h" -#endif - #include #endif /* LISP_FLOAT_TYPE */