summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-05-24 14:07:58 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-05-24 14:07:58 (GMT)
commitca773a5d6da61dace03ccf2745cb3ef25ad48c72 (patch)
treef5961cfb586c7365e0b8b0f9c2f763117d05d9e7
parent5945a5a4486e9a72d1866f6d88a29973176e5de0 (diff)
downloadCMake-ca773a5d6da61dace03ccf2745cb3ef25ad48c72.zip
CMake-ca773a5d6da61dace03ccf2745cb3ef25ad48c72.tar.gz
CMake-ca773a5d6da61dace03ccf2745cb3ef25ad48c72.tar.bz2
ENH: add stdlib.h for portability to borland 6
-rw-r--r--Source/cmAbstractFilesCommand.cxx1
-rw-r--r--Source/cmEndIfCommand.cxx2
-rw-r--r--Source/cmGlobalGenerator.cxx1
-rw-r--r--Source/cmIfCommand.cxx1
-rw-r--r--Source/cmSourceFilesCommand.cxx1
-rw-r--r--Source/cmSourceFilesRemoveCommand.cxx1
-rw-r--r--Source/cmTarget.cxx1
-rw-r--r--Source/cmWrapExcludeFilesCommand.cxx1
8 files changed, 8 insertions, 1 deletions
diff --git a/Source/cmAbstractFilesCommand.cxx b/Source/cmAbstractFilesCommand.cxx
index b5e78c1..653579d 100644
--- a/Source/cmAbstractFilesCommand.cxx
+++ b/Source/cmAbstractFilesCommand.cxx
@@ -17,6 +17,7 @@
#include "cmAbstractFilesCommand.h"
#include "cmMakefile.h"
#include "cmSourceFile.h"
+#include <stdlib.h> // required for atof
// cmAbstractFilesCommand
bool cmAbstractFilesCommand::InitialPass(std::vector<std::string> const& args)
diff --git a/Source/cmEndIfCommand.cxx b/Source/cmEndIfCommand.cxx
index 33fba76..6bfad52 100644
--- a/Source/cmEndIfCommand.cxx
+++ b/Source/cmEndIfCommand.cxx
@@ -15,7 +15,7 @@
=========================================================================*/
#include "cmEndIfCommand.h"
-
+#include <stdlib.h> // required for atof
bool cmEndIfCommand::InitialPass(std::vector<std::string> const&)
{
const char* versionValue
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 3e72f53..6699638 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -18,6 +18,7 @@
#include "cmLocalGenerator.h"
#include "cmake.h"
#include "cmMakefile.h"
+#include <stdlib.h> // required for atof
cmGlobalGenerator::cmGlobalGenerator()
{
diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx
index db7cc00..119acc6 100644
--- a/Source/cmIfCommand.cxx
+++ b/Source/cmIfCommand.cxx
@@ -15,6 +15,7 @@
=========================================================================*/
#include "cmIfCommand.h"
+#include <stdlib.h> // required for atof
bool cmIfFunctionBlocker::
IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf)
diff --git a/Source/cmSourceFilesCommand.cxx b/Source/cmSourceFilesCommand.cxx
index a2d2ada..0d0f369 100644
--- a/Source/cmSourceFilesCommand.cxx
+++ b/Source/cmSourceFilesCommand.cxx
@@ -15,6 +15,7 @@
=========================================================================*/
#include "cmSourceFilesCommand.h"
+#include <stdlib.h> // required for atof
// cmSourceFilesCommand
bool cmSourceFilesCommand::InitialPass(std::vector<std::string> const& args)
diff --git a/Source/cmSourceFilesRemoveCommand.cxx b/Source/cmSourceFilesRemoveCommand.cxx
index 7fb9b7a..98c4164 100644
--- a/Source/cmSourceFilesRemoveCommand.cxx
+++ b/Source/cmSourceFilesRemoveCommand.cxx
@@ -15,6 +15,7 @@
=========================================================================*/
#include "cmSourceFilesRemoveCommand.h"
+#include <stdlib.h> // required for atof
// cmSourceFilesRemoveCommand
bool cmSourceFilesRemoveCommand::InitialPass(std::vector<std::string> const& args)
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index badbd2b..2eecd36 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -20,6 +20,7 @@
#include <map>
#include <set>
+#include <stdlib.h> // required for atof
void cmTarget::SetType(TargetType type)
diff --git a/Source/cmWrapExcludeFilesCommand.cxx b/Source/cmWrapExcludeFilesCommand.cxx
index 040f150..be71993 100644
--- a/Source/cmWrapExcludeFilesCommand.cxx
+++ b/Source/cmWrapExcludeFilesCommand.cxx
@@ -15,6 +15,7 @@
=========================================================================*/
#include "cmWrapExcludeFilesCommand.h"
+#include <stdlib.h> // required for atof
// cmWrapExcludeFilesCommand
bool cmWrapExcludeFilesCommand::InitialPass(std::vector<std::string> const& argsIn)