From 4d240a51d772588a181d638254b530ed466f434e Mon Sep 17 00:00:00 2001
From: Brad King <brad.king@kitware.com>
Date: Fri, 11 Mar 2005 10:07:36 -0500
Subject: [PATCH] COMP: Added missing include of string.h.

---
 CommandLineArguments.cxx |  1 +
 RegularExpression.cxx    |  1 +
 SystemTools.cxx          | 10 ++++------
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/CommandLineArguments.cxx b/CommandLineArguments.cxx
index 23bf567..9ba61a7 100644
--- a/CommandLineArguments.cxx
+++ b/CommandLineArguments.cxx
@@ -24,6 +24,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #ifdef _MSC_VER
 # pragma warning (disable: 4786)
diff --git a/RegularExpression.cxx b/RegularExpression.cxx
index 7af4a47..b0ff99e 100644
--- a/RegularExpression.cxx
+++ b/RegularExpression.cxx
@@ -34,6 +34,7 @@
 #include KWSYS_HEADER(RegularExpression.hxx)
 
 #include <stdio.h>
+#include <string.h>
 
 namespace KWSYS_NAMESPACE
 {
diff --git a/SystemTools.cxx b/SystemTools.cxx
index a4eb987..4ba8083 100644
--- a/SystemTools.cxx
+++ b/SystemTools.cxx
@@ -23,16 +23,17 @@
 # pragma warning (disable: 4786)
 #endif
 
-#include <stdio.h>
-#include <sys/stat.h>
 #include <ctype.h>
 #include <errno.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/stat.h>
 #include <time.h>
 
 // support for realpath call
 #ifndef _WIN32
 #include <limits.h>
-#include <stdlib.h>
 #include <sys/param.h>
 #include <sys/wait.h>
 #include <sys/ioctl.h>
@@ -42,9 +43,6 @@
 
 #if defined(_WIN32) && (defined(_MSC_VER) || defined(__BORLANDC__) || defined(__MINGW32__))
 #include <io.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
 #include <windows.h>
 #include <direct.h>
 #define _unlink unlink
-- 
GitLab