diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx index 3a400b7dbd..76e19dc8b4 100644 --- a/Source/CPack/cpack.cxx +++ b/Source/CPack/cpack.cxx @@ -1,6 +1,15 @@ /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ +#include +#include +#include +#include +#include +#include +#include +#include + #include "cmsys/CommandLineArguments.hxx" #include "cmsys/Encoding.hxx" @@ -22,15 +31,6 @@ # include "cmsys/ConsoleBuf.hxx" #endif -#include -#include -#include -#include -#include -#include -#include -#include - namespace { const char* cmDocumentationName[][2] = { { nullptr, " cpack - Packaging driver provided by CMake." }, diff --git a/Source/ctest.cxx b/Source/ctest.cxx index 3b5bf8c4cd..f06981a6cd 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -1,6 +1,11 @@ /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ +#include +#include +#include +#include + #include "cmsys/Encoding.hxx" #include "cmCTest.h" @@ -12,10 +17,6 @@ #if defined(_WIN32) && !defined(CMAKE_BOOTSTRAP) # include "cmsys/ConsoleBuf.hxx" #endif -#include -#include -#include -#include static const char* cmDocumentationName[][2] = { { nullptr, " ctest - Testing driver provided by CMake." },