diff options
Diffstat (limited to 'Build/source/texk/chktex/chktex-1.6.6-PATCHES/patch-07-kpathsea')
-rw-r--r-- | Build/source/texk/chktex/chktex-1.6.6-PATCHES/patch-07-kpathsea | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Build/source/texk/chktex/chktex-1.6.6-PATCHES/patch-07-kpathsea b/Build/source/texk/chktex/chktex-1.6.6-PATCHES/patch-07-kpathsea new file mode 100644 index 00000000000..d102abd0b6e --- /dev/null +++ b/Build/source/texk/chktex/chktex-1.6.6-PATCHES/patch-07-kpathsea @@ -0,0 +1,28 @@ +diff -ur chktex-1.6.6.orig/ChkTeX.c chktex-1.6.6/ChkTeX.c +--- chktex-1.6.6.orig/ChkTeX.c 2010-12-18 22:18:13.000000000 +0100 ++++ chktex-1.6.6/ChkTeX.c 2012-07-23 21:29:45.000000000 +0200 +@@ -27,7 +27,9 @@ + */ + + ++#ifndef KPATHSEA + #include "getopt.h" ++#endif + #include "ChkTeX.h" + #include "OpSys.h" + #include "Utility.h" +diff -ur chktex-1.6.6.orig/ChkTeX.h chktex-1.6.6/ChkTeX.h +--- chktex-1.6.6.orig/ChkTeX.h 2010-12-18 22:10:05.000000000 +0100 ++++ chktex-1.6.6/ChkTeX.h 2012-07-23 23:14:51.000000000 +0200 +@@ -38,6 +38,11 @@ + # include CONFIG_H_NAME + #endif + ++#ifdef KPATHSEA ++#include <kpathsea/config.h> ++#include <kpathsea/getopt.h> ++#endif ++ + #include <ctype.h> + #include <math.h> + #include <stdio.h> |