summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-03-30 12:58:22 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-03-30 12:58:26 (GMT)
commitd66081b546c55c2066da0eac473b7a1d1d040936 (patch)
treed5fb06e9d1671f9c17725237d40dfd5ec4ee42dc /Source/cmFileCommand.cxx
parent2f359787f6a5d6da20621fb1a161c8cac49902bc (diff)
parent48cfb295a2810e541bd286f352d77d840be345f7 (diff)
downloadCMake-d66081b546c55c2066da0eac473b7a1d1d040936.zip
CMake-d66081b546c55c2066da0eac473b7a1d1d040936.tar.gz
CMake-d66081b546c55c2066da0eac473b7a1d1d040936.tar.bz2
Merge topic 'iwyu'
48cfb295 cmFortranParser: remove unnecessary typedef 90bb5f64 cmCommandArgumentParserHelper: remove unnecessary include ab5f4e81 cmFortranParserImpl: remove unnecessary include f8ed8bef testEncoding: use cmsys::ifstream 8647c6cd testEncoding: include <cmsys/ConsoleBuf.hxx> on Windows only 21a6ed49 cmFileCommand: add <cm_curl.h> include a2275bdd cmFileCommand: remove unnecessary friend declaration Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !626
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r--Source/cmFileCommand.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 7207d34..63012a5 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -37,6 +37,7 @@
#if defined(CMAKE_BUILD_WITH_CMAKE)
#include "cmCurl.h"
#include "cmFileLockResult.h"
+#include <cm_curl.h>
#endif
#if defined(CMAKE_USE_ELF_PARSER)
@@ -1028,8 +1029,6 @@ protected:
{
}
};
- struct MatchRule;
- friend struct MatchRule;
struct MatchRule
{
cmsys::RegularExpression Regex;