diff options
author | Brad King <brad.king@kitware.com> | 2005-03-11 15:07:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-03-11 15:07:36 (GMT) |
commit | 0d0cfaea08f60df59d35fa98a79660109412d6c0 (patch) | |
tree | 327e19660749f0e473b58a8ea2c171ff90f8ae30 /Source | |
parent | 084a1c9900decdaadaa24fc1dd30875e7892e660 (diff) | |
download | CMake-0d0cfaea08f60df59d35fa98a79660109412d6c0.zip CMake-0d0cfaea08f60df59d35fa98a79660109412d6c0.tar.gz CMake-0d0cfaea08f60df59d35fa98a79660109412d6c0.tar.bz2 |
COMP: Added missing include of string.h.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/CommandLineArguments.cxx | 1 | ||||
-rw-r--r-- | Source/kwsys/RegularExpression.cxx | 1 | ||||
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 10 |
3 files changed, 6 insertions, 6 deletions
diff --git a/Source/kwsys/CommandLineArguments.cxx b/Source/kwsys/CommandLineArguments.cxx index 172ad60..de30952 100644 --- a/Source/kwsys/CommandLineArguments.cxx +++ b/Source/kwsys/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/Source/kwsys/RegularExpression.cxx b/Source/kwsys/RegularExpression.cxx index 5a2a5e8..707c70a 100644 --- a/Source/kwsys/RegularExpression.cxx +++ b/Source/kwsys/RegularExpression.cxx @@ -34,6 +34,7 @@ #include KWSYS_HEADER(RegularExpression.hxx) #include <stdio.h> +#include <string.h> namespace KWSYS_NAMESPACE { diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index 36b739f..d9a2f1a 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/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 |