summaryrefslogtreecommitdiff
path: root/lib-src/make-docfile.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1998-04-27 09:22:29 +0000
committerAndreas Schwab <schwab@suse.de>1998-04-27 09:22:29 +0000
commita0613c61ed1c474ee4e26a41cbb8915dd7a0d1c3 (patch)
tree0588f30ed778509fe149f54cce880472315c1629 /lib-src/make-docfile.c
parent41bee2813de0c3d7f3d2a3bbe2b803270da1148b (diff)
Include <unistd.h> for chdir.
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 9fe30bd6c34..82e7f7c4efd 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;