diff options
-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] = { |