summaryrefslogtreecommitdiff
path: root/Build/source/utils/chktex
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/chktex')
-rw-r--r--Build/source/utils/chktex/ChangeLog4
-rw-r--r--Build/source/utils/chktex/getopt.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/utils/chktex/ChangeLog b/Build/source/utils/chktex/ChangeLog
index 88994eaa272..e3490c574b1 100644
--- a/Build/source/utils/chktex/ChangeLog
+++ b/Build/source/utils/chktex/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-19 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * getopt.c: #include <string.h> for prototypes.
+
2011-03-31 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am: Use the ../../texk/am/script_links.am fragment.
diff --git a/Build/source/utils/chktex/getopt.c b/Build/source/utils/chktex/getopt.c
index e8236a71b92..ad5a66bc180 100644
--- a/Build/source/utils/chktex/getopt.c
+++ b/Build/source/utils/chktex/getopt.c
@@ -32,6 +32,9 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
#include <stdio.h>