diff --git a/common/bpg_decode.h b/common/bpg_decode.h index 871691e..b379d9c 100644 --- a/common/bpg_decode.h +++ b/common/bpg_decode.h @@ -6,10 +6,10 @@ // Copyright (c) 2014 Nyx0uf. All rights reserved. // +@import CoreGraphics; #import "tools.h" - #ifdef NYX_QL_SUPPORT_BPG_DECODE CF_RETURNS_RETAINED CGImageRef decode_bpg_at_path(CFStringRef filepath, image_infos* infos); #endif diff --git a/common/webp_decode.h b/common/webp_decode.h index 1b24557..a802982 100644 --- a/common/webp_decode.h +++ b/common/webp_decode.h @@ -6,10 +6,10 @@ // Copyright (c) 2014 Nyx0uf. All rights reserved. // +@import CoreGraphics; #import "tools.h" - #ifdef NYX_QL_SUPPORT_WEBP_DECODE CF_RETURNS_RETAINED CGImageRef decode_webp_at_path(CFStringRef filepath, image_infos* infos); #endif