summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2013-04-02 23:56:09 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2013-04-02 23:56:09 +0000
commit11b2374553a5c86b7b891d0946d4c646b6cbef76 (patch)
treefd37631520a9e91165b463293a16c330ff49f6bb /Build/source
parent8ef635c70ed233c230f46d6209f2b037e9c78b5c (diff)
Recover #include <kpathsea/getopt.h> for WIN32 to avoid compiling error.
git-svn-id: svn://tug.org/texlive/trunk@29621 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-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