diff --git a/Source/CPack/cmCPackDragNDropGenerator.cxx b/Source/CPack/cmCPackDragNDropGenerator.cxx index 4b26a631bd..1d55274b6c 100644 --- a/Source/CPack/cmCPackDragNDropGenerator.cxx +++ b/Source/CPack/cmCPackDragNDropGenerator.cxx @@ -10,7 +10,8 @@ #include #include -#include +#include +#include #include #include "cmsys/Base64.h" diff --git a/Source/cmFindProgramCommand.cxx b/Source/cmFindProgramCommand.cxx index 2ea9534033..3b9a16cd72 100644 --- a/Source/cmFindProgramCommand.cxx +++ b/Source/cmFindProgramCommand.cxx @@ -18,7 +18,9 @@ class cmExecutionStatus; #if defined(__APPLE__) -# include +# include +# include +# include #endif struct cmFindProgramHelper diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 58a5707b78..b6cf3f19cc 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -58,7 +58,10 @@ #include "cmake.h" #if !defined(CMAKE_BOOTSTRAP) && defined(__APPLE__) -# include +# include +# include +# include +# include # if !TARGET_OS_IPHONE # define HAVE_APPLICATION_SERVICES # include diff --git a/Source/cmXCodeObject.cxx b/Source/cmXCodeObject.cxx index 31b0322e25..5de753fa58 100644 --- a/Source/cmXCodeObject.cxx +++ b/Source/cmXCodeObject.cxx @@ -6,8 +6,6 @@ #include -#include - char const* cmXCodeObject::PBXTypeNames[] = { /* clang-format needs this comment to break after the opening brace */ "PBXGroup",