소스 검색

ENH: add some includes for borland 6

Bill Hoffman 22 년 전
부모
커밋
5945a5a448
4개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 0
      Source/cmCTest.cxx
  2. 1 1
      Source/cmMakefile.cxx
  3. 1 1
      Source/cmStringCommand.cxx
  4. 1 0
      Source/cmake.cxx

+ 1 - 0
Source/cmCTest.cxx

@@ -24,6 +24,7 @@
 # include "curl/curl.h"
 #endif
 
+#include <stdlib.h> // required for atoi
 #include <stdio.h>
 #include <time.h>
 #include <math.h>

+ 1 - 1
Source/cmMakefile.cxx

@@ -29,7 +29,7 @@
 #include "cmVariableWatch.h"
 #include "cmake.h"
 #include <stdio.h>  // required for sprintf
-
+#include <stdlib.h> // required for atoi
 // default is not to be building executables
 cmMakefile::cmMakefile()
 {

+ 1 - 1
Source/cmStringCommand.cxx

@@ -15,7 +15,7 @@
 
 =========================================================================*/
 #include "cmStringCommand.h"
-
+#include <stdlib.h> // required for atoi
 //----------------------------------------------------------------------------
 bool cmStringCommand::InitialPass(std::vector<std::string> const& args)
 {

+ 1 - 0
Source/cmake.cxx

@@ -36,6 +36,7 @@
 #endif
 
 #include <stdio.h>
+#include <stdlib.h> // required for atoi
 
 #ifdef __APPLE__
 #include <sys/types.h>