summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/make-docfile.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index e45fd75b3a1..6f3c799c937 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -56,6 +56,12 @@ int scan_file ();
int scan_lisp_file ();
int scan_c_file ();
+#ifdef MSDOS
+/* s/msdos.h defines this as sys_chdir, but we're not linking with the
+ file where that function is defined. */
+#undef chdir
+#endif
+
/* Stdio stream for output to the DOC file. */
FILE *outfile;