]> git.eshelyaron.com Git - emacs.git/commitdiff
[HAVE_UNISTD_H]: Include unistd.h.
authorRichard M. Stallman <rms@gnu.org>
Wed, 13 Apr 1994 22:23:24 +0000 (22:23 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 13 Apr 1994 22:23:24 +0000 (22:23 +0000)
lib-src/movemail.c
src/doc.c
src/fileio.c

index 1676e414e1d646fbc665a27f818115a107038564..7db92557637037cbdf2b6e406f15997e1dbff75a 100644 (file)
@@ -71,6 +71,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #endif
 #endif /* USG */
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 #ifdef XENIX
 #include <sys/locking.h>
 #endif
index 8eccb66d18a2c4adea219e0469aa6999450569f6..8859914972dbed5f93cb500971cb694cb0bfa62c 100644 (file)
--- a/src/doc.c
+++ b/src/doc.c
@@ -27,6 +27,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include <fcntl.h>
 #endif
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 #ifndef O_RDONLY
 #define O_RDONLY 0
 #endif
index 487cb1184d36cb2a36c0dae3093344dbbcfd5d24..cda88070d4abb8c6f621cea7695e613799af48e4 100644 (file)
@@ -22,6 +22,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #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