diff --git a/Segment-ComScore/Classes/SEGComScoreIntegration.h b/Segment-ComScore/Classes/SEGComScoreIntegration.h index b5b23a1..64bee73 100644 --- a/Segment-ComScore/Classes/SEGComScoreIntegration.h +++ b/Segment-ComScore/Classes/SEGComScoreIntegration.h @@ -7,9 +7,14 @@ // #import -#import #import +#if defined(__has_include) && __has_include() +#import +#else +#import +#endif + @protocol SEGStreamingAnalyticsFactory - (SCORStreamingAnalytics *)create; diff --git a/Segment-ComScore/Classes/SEGComScoreIntegration.m b/Segment-ComScore/Classes/SEGComScoreIntegration.m index 02e332c..896c826 100644 --- a/Segment-ComScore/Classes/SEGComScoreIntegration.m +++ b/Segment-ComScore/Classes/SEGComScoreIntegration.m @@ -7,9 +7,15 @@ // #import "SEGComScoreIntegration.h" -#import #import +#if defined(__has_include) && __has_include() +#import +#else +#import +#endif + + @implementation SEGRealStreamingAnalyticsFactory - (SCORStreamingAnalytics *)create; diff --git a/Segment-ComScore/Classes/SEGComScoreIntegrationFactory.h b/Segment-ComScore/Classes/SEGComScoreIntegrationFactory.h index cc3ddde..8f7a2af 100644 --- a/Segment-ComScore/Classes/SEGComScoreIntegrationFactory.h +++ b/Segment-ComScore/Classes/SEGComScoreIntegrationFactory.h @@ -7,7 +7,12 @@ // #import + +#if defined(__has_include) && __has_include() #import +#else +#import +#endif @interface SEGComScoreIntegrationFactory : NSObject