From 8a79d25927313e90f432f25c67453c45015d9176 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 1 Aug 2006 14:45:32 -0400 Subject: COMP: Added missing headers. This partially addresses bug#3556. --- Source/kwsys/Registry.cxx | 2 ++ Source/kwsys/testCommandLineArguments.cxx | 3 +++ Source/kwsys/testCommandLineArguments1.cxx | 2 ++ Source/kwsys/testSystemTools.cxx | 2 ++ 4 files changed, 9 insertions(+) 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 // for isspace #include +#include /* strlen, strncpy */ +#include /* getenv */ #ifdef _WIN32 # include 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 /* size_t */ +#include /* strcmp */ + void* random_ptr = reinterpret_cast(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 /* 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 /* strcmp */ + //---------------------------------------------------------------------------- const char* toUnixPaths[][2] = { -- cgit v0.12