From fec8e6cd3f931590bda746a6038d1be5ce4452be Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Sun, 9 Feb 2020 15:33:34 +0800 Subject: [PATCH] PixelFormats: include missing header the function prototype for `HapCodecRegisterDXTPixelFormat` contains types mac-specific types without including the corresponding header. this causes compile failures when prefix headers are disabled --- source/PixelFormats.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/PixelFormats.h b/source/PixelFormats.h index e2a933a..7c5068a 100644 --- a/source/PixelFormats.h +++ b/source/PixelFormats.h @@ -28,6 +28,8 @@ #ifndef HapCodec_PixelFormats_h #define HapCodec_PixelFormats_h +#include + /* S3TC RGB DXT1 */