summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/win32lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/win32lib.h')
-rw-r--r--Build/source/texk/kpathsea/win32lib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/win32lib.h b/Build/source/texk/kpathsea/win32lib.h
index bb1edad7d15..a613339712d 100644
--- a/Build/source/texk/kpathsea/win32lib.h
+++ b/Build/source/texk/kpathsea/win32lib.h
@@ -238,6 +238,9 @@
#include <stdio.h>
#include <process.h>
+/* For _getcwd. */
+#include <direct.h>
+
/* Web2C takes care of ensuring that these are defined. */
#ifdef max
#undef max