summaryrefslogtreecommitdiff
path: root/Build/source/utils/chktex
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-04-19 13:44:09 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-04-19 13:44:09 +0000
commit129c1c0ef9266468d65fbcf846132b4329cad994 (patch)
tree0aeb7c371bb33f4fb69501b7715c82b769957896 /Build/source/utils/chktex
parent880a5b0998e88b6c3a3c50b3058f0139bf9b1211 (diff)
Avoid Mac OS X compiler warnings, mainly 'differ in signedness'
git-svn-id: svn://tug.org/texlive/trunk@22123 c570f23f-e606-0410-a88d-b1316a301751
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>