diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h index d817e3e2e..c2703c155 100644 --- a/Source/cmStandardIncludes.h +++ b/Source/cmStandardIncludes.h @@ -73,6 +73,14 @@ public: }; #endif +// Include stream compatibility layer from KWSys. +// This is needed to work with large file support +// on some platforms whose stream operators do not +// support the large integer types. +#if defined(CMAKE_BUILD_WITH_CMAKE) +# include +#endif + #ifndef CMAKE_NO_ANSI_STREAM_HEADERS # include # include