aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorAndreas Schwab <[email protected]>1998-04-27 09:22:29 +0000
committerAndreas Schwab <[email protected]>1998-04-27 09:22:29 +0000
commita0613c61ed1c474ee4e26a41cbb8915dd7a0d1c3 (patch)
tree0588f30ed778509fe149f54cce880472315c1629 /lib-src
parent41bee2813de0c3d7f3d2a3bbe2b803270da1148b (diff)
Include <unistd.h> for chdir.
Diffstat (limited to 'lib-src')
-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;