summaryrefslogtreecommitdiff
path: root/src/autofit/ft-hb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/autofit/ft-hb.h')
-rw-r--r--src/autofit/ft-hb.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/src/autofit/ft-hb.h b/src/autofit/ft-hb.h
index 0d3ca206d..92a5774bc 100644
--- a/src/autofit/ft-hb.h
+++ b/src/autofit/ft-hb.h
@@ -29,7 +29,20 @@
#include <hb.h>
-hb_font_t * hb_ft_font_create_ (FT_Face ft_face,
- hb_destroy_func_t destroy);
+#include <freetype/internal/compiler-macros.h>
+#include <freetype/freetype.h>
-#endif
+
+FT_BEGIN_HEADER
+
+FT_LOCAL(hb_font_t *)
+hb_ft_font_create_ (FT_Face ft_face,
+ hb_destroy_func_t destroy);
+
+
+FT_END_HEADER
+
+#endif /* FT_HB_H */
+
+
+/* END */