From 29beb080a9f6f6462e7fde93ae3d347e79d4ad62 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 13 Apr 1994 22:23:24 +0000 Subject: [PATCH] [HAVE_UNISTD_H]: Include unistd.h. --- lib-src/movemail.c | 4 ++++ src/doc.c | 4 ++++ src/fileio.c | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/lib-src/movemail.c b/lib-src/movemail.c index 1676e414e1d..7db92557637 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c @@ -71,6 +71,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #endif #endif /* USG */ +#ifdef HAVE_UNISTD_H +#include +#endif + #ifdef XENIX #include #endif diff --git a/src/doc.c b/src/doc.c index 8eccb66d18a..8859914972d 100644 --- a/src/doc.c +++ b/src/doc.c @@ -27,6 +27,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #endif +#ifdef HAVE_UNISTD_H +#include +#endif + #ifndef O_RDONLY #define O_RDONLY 0 #endif diff --git a/src/fileio.c b/src/fileio.c index 487cb1184d3..cda88070d4a 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -22,6 +22,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include +#ifdef HAVE_UNISTD_H +#include +#endif + #if !defined (S_ISLNK) && defined (S_IFLNK) # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) #endif