From 62ce1d3b5e34552f18d3b4ecf67381aae100bc14 Mon Sep 17 00:00:00 2001 From: zhongwuzw Date: Sun, 11 Nov 2018 22:16:03 +0800 Subject: [PATCH] Fix macos build failed --- SDWebImage/UIImage+CacheMemoryCost.h | 2 +- SDWebImage/UIImage+CacheMemoryCost.m | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/SDWebImage/UIImage+CacheMemoryCost.h b/SDWebImage/UIImage+CacheMemoryCost.h index 67136d5e..480230e9 100644 --- a/SDWebImage/UIImage+CacheMemoryCost.h +++ b/SDWebImage/UIImage+CacheMemoryCost.h @@ -6,7 +6,7 @@ * file that was distributed with this source code. */ -#import +#import "SDWebImageCompat.h" @interface UIImage (CacheMemoryCost) diff --git a/SDWebImage/UIImage+CacheMemoryCost.m b/SDWebImage/UIImage+CacheMemoryCost.m index 48462dd5..be92eb4b 100644 --- a/SDWebImage/UIImage+CacheMemoryCost.m +++ b/SDWebImage/UIImage+CacheMemoryCost.m @@ -7,7 +7,6 @@ */ #import "UIImage+CacheMemoryCost.h" -#import "SDWebImageCompat.h" #import "objc/runtime.h" FOUNDATION_STATIC_INLINE NSUInteger SDCacheCostForImage(UIImage *image) {