aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/make-docfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src/make-docfile.c')
-rw-r--r--lib-src/make-docfile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index 9fe30bd6c3..82e7f7c4ef 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -63,6 +63,10 @@ int scan_c_file ();
#undef chdir
#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
/* Stdio stream for output to the DOC file. */
FILE *outfile;