summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2011-08-03 08:16:31 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2011-08-03 08:16:31 +0000
commit2b9faf719575eb578dbbfb7fe1a928ef599bb19b (patch)
tree488cd7cf5b3dd16670995a26341622f5b24e63ff
parentee1665c9eb3a6fb3f90e72ffbe6460d28e4741e8 (diff)
update win32lib.h
git-svn-id: svn://tug.org/texlive/trunk@23362 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/kpathsea/ChangeLog4
-rw-r--r--Build/source/texk/kpathsea/win32lib.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index eafb0c196c4..5bfdf89feb8 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,7 @@
+2011-08-03 Akirar Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * win32lib.h: #include <direct.h> for _getcwd.
+
2011-08-02 Peter Breitenlohner <peb@mppmu.mpg.de>
Unexport kpathsea internal functions, remove unused ones.
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