diff options
-rw-r--r-- | include/ports/SkTypeface_mac.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/ports/SkTypeface_mac.h b/include/ports/SkTypeface_mac.h index 000c7baa89..59bf77b106 100644 --- a/include/ports/SkTypeface_mac.h +++ b/include/ports/SkTypeface_mac.h @@ -11,7 +11,14 @@ #include "SkTypeface.h" #include <CoreFoundation/CoreFoundation.h> + +#ifdef SK_BUILD_FOR_MAC +#import <ApplicationServices/ApplicationServices.h> +#endif + +#ifdef SK_BUILD_FOR_IOS #include <CoreText/CoreText.h> +#endif /** * Like the other Typeface create methods, this returns a new reference to the |