summaryrefslogtreecommitdiff
path: root/src/doc.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-04-13 22:23:24 +0000
committerRichard M. Stallman <rms@gnu.org>1994-04-13 22:23:24 +0000
commitb771d6e287f2023b03ae33d3b120460e2a1034d2 (patch)
tree596c10fde97576241e8904cfa834f9cb2770c043 /src/doc.c
parent8b9620a62e5c2ac3b53e2c5cdbe71cdaf8349f6c (diff)
downloademacs-b771d6e287f2023b03ae33d3b120460e2a1034d2.tar.gz
[HAVE_UNISTD_H]: Include unistd.h.
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c4
1 files changed, 4 insertions, 0 deletions
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 <fcntl.h>
#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#ifndef O_RDONLY
#define O_RDONLY 0
#endif