diff --git a/SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.h b/SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.h index 656a58ba..678ddccc 100644 --- a/SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.h +++ b/SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.h @@ -13,7 +13,7 @@ #if __has_include() #import #else -#import "FLAnimatedImageView.h" +#import "FLAnimatedImage.h" #endif #import "SDWebImageManager.h" diff --git a/SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.m b/SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.m index 04a1c858..1a74cfad 100644 --- a/SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.m +++ b/SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.m @@ -13,7 +13,6 @@ #import "UIView+WebCacheOperation.h" #import "UIView+WebCache.h" #import "NSData+ImageContentType.h" -#import "FLAnimatedImage.h" #import "UIImageView+WebCache.h" @implementation FLAnimatedImageView (WebCache) diff --git a/SDWebImage/UIImage+WebP.m b/SDWebImage/UIImage+WebP.m index 7d7d19a0..13389fb8 100644 --- a/SDWebImage/UIImage+WebP.m +++ b/SDWebImage/UIImage+WebP.m @@ -9,10 +9,17 @@ #ifdef SD_WEBP #import "UIImage+WebP.h" +#import "NSImage+WebCache.h" + +#if __has_include() && __has_include() && __has_include() +#import +#import +#import +#else #import "webp/decode.h" #import "webp/mux_types.h" #import "webp/demux.h" -#import "NSImage+WebCache.h" +#endif #import "objc/runtime.h"