Mercurial > emacs
changeset 6862:653504b6b5dd
[HAVE_UNISTD_H]: Include unistd.h.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 13 Apr 1994 22:23:24 +0000 |
parents | f8e60e2bd9b3 |
children | 2aab30ba72b4 |
files | lib-src/movemail.c src/doc.c src/fileio.c |
diffstat | 3 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/movemail.c Wed Apr 13 22:23:00 1994 +0000 +++ b/lib-src/movemail.c Wed Apr 13 22:23:24 1994 +0000 @@ -71,6 +71,10 @@ #endif #endif /* USG */ +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif + #ifdef XENIX #include <sys/locking.h> #endif
--- a/src/doc.c Wed Apr 13 22:23:00 1994 +0000 +++ b/src/doc.c Wed Apr 13 22:23:24 1994 +0000 @@ -27,6 +27,10 @@ #include <fcntl.h> #endif +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif + #ifndef O_RDONLY #define O_RDONLY 0 #endif
--- a/src/fileio.c Wed Apr 13 22:23:00 1994 +0000 +++ b/src/fileio.c Wed Apr 13 22:23:24 1994 +0000 @@ -22,6 +22,10 @@ #include <sys/types.h> #include <sys/stat.h> +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif + #if !defined (S_ISLNK) && defined (S_IFLNK) # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) #endif