From 3dfba9576a7ae85cd5dc644385f8c833592e4c1a Mon Sep 17 00:00:00 2001 From: Tom Finegan Date: Wed, 9 Mar 2016 14:18:42 -0800 Subject: [PATCH] iwyu/hdr_util: Update includes. Include what you use analysis based include update. Change-Id: Iaa744570fe3e8f9eddc0fdbd1528c0689a3c40cb --- common/hdr_util.cc | 5 +++++ common/hdr_util.h | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/common/hdr_util.cc b/common/hdr_util.cc index 1752236..4587b2e 100644 --- a/common/hdr_util.cc +++ b/common/hdr_util.cc @@ -7,6 +7,11 @@ // be found in the AUTHORS file in the root of the source tree. #include "hdr_util.h" +#include +#include + +#include "../mkvparser.hpp" + namespace libwebm { bool CopyPrimaryChromaticity(const mkvparser::PrimaryChromaticity& parser_pc, PrimaryChromaticityPtr* muxer_pc) { diff --git a/common/hdr_util.h b/common/hdr_util.h index d8b2305..fce055b 100644 --- a/common/hdr_util.h +++ b/common/hdr_util.h @@ -11,7 +11,12 @@ #include #include "../mkvmuxer.hpp" -#include "../mkvparser.hpp" + +namespace mkvparser { +struct Colour; +struct MasteringMetadata; +struct PrimaryChromaticity; +} // namespace mkvparser namespace libwebm {