diff options
author | Brad King <brad.king@kitware.com> | 2006-08-01 18:45:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-08-01 18:45:32 (GMT) |
commit | 8a79d25927313e90f432f25c67453c45015d9176 (patch) | |
tree | eb613268898f0f378bfdbdd63aaf7122756401d0 /Source/kwsys | |
parent | b2ebcb5eb32a917b4778e94a5932a72a283091c5 (diff) | |
download | CMake-8a79d25927313e90f432f25c67453c45015d9176.zip CMake-8a79d25927313e90f432f25c67453c45015d9176.tar.gz CMake-8a79d25927313e90f432f25c67453c45015d9176.tar.bz2 |
COMP: Added missing headers. This partially addresses bug#3556.
Diffstat (limited to 'Source/kwsys')
-rw-r--r-- | Source/kwsys/Registry.cxx | 2 | ||||
-rw-r--r-- | Source/kwsys/testCommandLineArguments.cxx | 3 | ||||
-rw-r--r-- | Source/kwsys/testCommandLineArguments1.cxx | 2 | ||||
-rw-r--r-- | Source/kwsys/testSystemTools.cxx | 2 |
4 files changed, 9 insertions, 0 deletions
diff --git a/Source/kwsys/Registry.cxx b/Source/kwsys/Registry.cxx index a4e8d02..b410be7 100644 --- a/Source/kwsys/Registry.cxx +++ b/Source/kwsys/Registry.cxx @@ -36,6 +36,8 @@ #include <ctype.h> // for isspace #include <stdio.h> +#include <string.h> /* strlen, strncpy */ +#include <stdlib.h> /* getenv */ #ifdef _WIN32 # include <windows.h> diff --git a/Source/kwsys/testCommandLineArguments.cxx b/Source/kwsys/testCommandLineArguments.cxx index 03d63a8..8a2a3ad 100644 --- a/Source/kwsys/testCommandLineArguments.cxx +++ b/Source/kwsys/testCommandLineArguments.cxx @@ -23,6 +23,9 @@ # include "kwsys_ios_iostream.h.in" #endif +#include <stddef.h> /* size_t */ +#include <string.h> /* strcmp */ + void* random_ptr = reinterpret_cast<void*>(0x123); int argument(const char* arg, const char* value, void* call_data) diff --git a/Source/kwsys/testCommandLineArguments1.cxx b/Source/kwsys/testCommandLineArguments1.cxx index dedfe31..26ec5f5 100644 --- a/Source/kwsys/testCommandLineArguments1.cxx +++ b/Source/kwsys/testCommandLineArguments1.cxx @@ -23,6 +23,8 @@ # include "kwsys_ios_iostream.h.in" #endif +#include <string.h> /* strcmp */ + int main(int argc, char* argv[]) { kwsys::CommandLineArguments arg; diff --git a/Source/kwsys/testSystemTools.cxx b/Source/kwsys/testSystemTools.cxx index 7faa4bf..d633b3d 100644 --- a/Source/kwsys/testSystemTools.cxx +++ b/Source/kwsys/testSystemTools.cxx @@ -29,6 +29,8 @@ #include "testSystemTools.h" +#include <string.h> /* strcmp */ + //---------------------------------------------------------------------------- const char* toUnixPaths[][2] = { |