diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h index 0243a18cd..572bcac5f 100644 --- a/Source/cmStandardIncludes.h +++ b/Source/cmStandardIncludes.h @@ -118,7 +118,7 @@ extern int putenv (char *__string) __THROW; # endif #endif -#if defined( _MSC_VER ) || defined( __BORLANDC__ ) +#if defined( _MSC_VER ) typedef unsigned short mode_t; #endif diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index d183caeef..f5ee0feeb 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -20,6 +20,7 @@ #include "cmStandardIncludes.h" #include +#include /** \class cmSystemTools * \brief A collection of useful functions for CMake.