diff --git a/include/codec/SkAvifDecoder.h b/include/codec/SkAvifDecoder.h index 4bd7bb7a81ce..a6d5c61aba16 100644 --- a/include/codec/SkAvifDecoder.h +++ b/include/codec/SkAvifDecoder.h @@ -9,6 +9,7 @@ #include "include/codec/SkCodec.h" #include "include/core/SkRefCnt.h" +#include "include/private/base/SkAPI.h" class SkData; class SkStream; diff --git a/include/codec/SkBmpDecoder.h b/include/codec/SkBmpDecoder.h index 2463ddb9efab..752555242e0f 100644 --- a/include/codec/SkBmpDecoder.h +++ b/include/codec/SkBmpDecoder.h @@ -9,6 +9,7 @@ #include "include/codec/SkCodec.h" #include "include/core/SkRefCnt.h" +#include "include/private/base/SkAPI.h" class SkData; class SkStream; diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h index f5c54ad1e186..2db242b2ad90 100644 --- a/include/codec/SkCodec.h +++ b/include/codec/SkCodec.h @@ -1021,7 +1021,7 @@ using MakeFromStreamCallback = std::unique_ptr (*)(std::unique_ptr