Index: third_party/harfbuzz-ng/src/hb-coretext.h |
diff --git a/third_party/harfbuzz-ng/src/hb-coretext.h b/third_party/harfbuzz-ng/src/hb-coretext.h |
index 607bbbc1e918e57eefdf69192996e2fc9f4d7539..25267bc9784a7e86ec68b5f95f15b95ddd0966a8 100644 |
--- a/third_party/harfbuzz-ng/src/hb-coretext.h |
+++ b/third_party/harfbuzz-ng/src/hb-coretext.h |
@@ -29,7 +29,13 @@ |
#include "hb.h" |
-#include <ApplicationServices/ApplicationServices.h> |
+#include <TargetConditionals.h> |
+#if TARGET_OS_IPHONE |
+# include <CoreText/CoreText.h> |
+# include <CoreGraphics/CoreGraphics.h> |
+#else |
+# include <ApplicationServices/ApplicationServices.h> |
+#endif |
HB_BEGIN_DECLS |