From 3c22c9757277145a18a509c3aee36dddc6a610e7 Mon Sep 17 00:00:00 2001 From: Mikael Sand Date: Sat, 19 Oct 2019 14:30:18 +0300 Subject: [PATCH] fix(ios): backwards compatible RCTImageLoader.h handling fixes #1141 --- ios/Elements/RNSVGImage.m | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ios/Elements/RNSVGImage.m b/ios/Elements/RNSVGImage.m index ee3c91234..6070161c9 100644 --- a/ios/Elements/RNSVGImage.m +++ b/ios/Elements/RNSVGImage.m @@ -9,10 +9,20 @@ #import "RNSVGImage.h" #import "RCTConvert+RNSVG.h" #import + +#if __has_include() + +#import + +#else + #import #import #import #import + +#endif + #import #import "RNSVGViewBox.h"