summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/ttfdump/ChangeLog5
-rw-r--r--Build/source/texk/ttfdump/src/ttfdump.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/Build/source/texk/ttfdump/ChangeLog b/Build/source/texk/ttfdump/ChangeLog
index 3706ba6dd72..375d863f47b 100644
--- a/Build/source/texk/ttfdump/ChangeLog
+++ b/Build/source/texk/ttfdump/ChangeLog
@@ -1,3 +1,8 @@
+2013-04-03 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * src/ttfdump.c [KPATHSEA]: Recover #include <kpathsea/getopt.h>
+ for WIN32 to avoid compiling error.
+
2013-04-03 Karl Berry <karl@tug.org>
* src/ttfdump.c [KPATHSEA]: #include <unistd.h> rather than
diff --git a/Build/source/texk/ttfdump/src/ttfdump.c b/Build/source/texk/ttfdump/src/ttfdump.c
index 46ee5cda94e..dc420b14c94 100644
--- a/Build/source/texk/ttfdump/src/ttfdump.c
+++ b/Build/source/texk/ttfdump/src/ttfdump.c
@@ -9,7 +9,11 @@
#include <kpathsea/c-fopen.h>
#include <kpathsea/progname.h>
#include <kpathsea/c-unistd.h>
+# if defined (WIN32)
+#include <kpathsea/getopt.h>
+# else
#include <unistd.h>
+# endif
#elif defined(WIN32)
#include <getopt.h>
#else