summaryrefslogtreecommitdiff
path: root/Build/source/utils/chktex/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/chktex/getopt.c')
-rw-r--r--Build/source/utils/chktex/getopt.c3
1 files changed, 3 insertions, 0 deletions
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>