diff --git a/build/clang-plugin/MozCheckAction.cpp b/build/clang-plugin/MozCheckAction.cpp index 15362be24b81..c2e2a28fa746 100644 --- a/build/clang-plugin/MozCheckAction.cpp +++ b/build/clang-plugin/MozCheckAction.cpp @@ -2,7 +2,9 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include "plugin.h" #include "DiagnosticsMatcher.h" +#include "clang/Frontend/FrontendPluginRegistry.h" class MozCheckAction : public PluginASTAction { public: diff --git a/build/clang-plugin/plugin.h b/build/clang-plugin/plugin.h index 02303a76cbce..9fc547d3487e 100644 --- a/build/clang-plugin/plugin.h +++ b/build/clang-plugin/plugin.h @@ -12,7 +12,6 @@ #include "clang/ASTMatchers/ASTMatchers.h" #include "clang/Basic/Version.h" #include "clang/Frontend/CompilerInstance.h" -#include "clang/Frontend/FrontendPluginRegistry.h" #include "clang/Frontend/MultiplexConsumer.h" #include "clang/Sema/Sema.h" #include "llvm/ADT/DenseMap.h"