summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2017-09-12 15:59:18 +0900
committersuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2017-09-12 15:59:18 +0900
commit21658c31f705edd4c94798eee62ce5b5241814b9 (patch)
treeb94c0c41c307871cff184c7f36326d5259d8fd5d
parentbabe13ec5ce9b76862e101ec033fefbf746683eb (diff)
downloadfreetype2-21658c31f705edd4c94798eee62ce5b5241814b9.tar.gz
[autofit, sfnt] Fix for `make multi'.
* src/autofit/afshaper.c: Include FT_ADVANCE_H, to use FT_Get_Advance() in it. * src/sfnt/ttcmap.c: Include FT_SERVICE_POSTSCRIPT_CMAPS_H to use PS_Unicodes in it, also include `ttpost.h' to use tt_face_get_ps_name() in it.
-rw-r--r--ChangeLog10
-rw-r--r--src/autofit/afshaper.c1
-rw-r--r--src/sfnt/ttcmap.c2
3 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cdd6ee24b..b9d69c04c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2017-09-12 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
+
+ [autofit, sfnt] Fix for `make multi'.
+
+ * src/autofit/afshaper.c: Include FT_ADVANCE_H, to use
+ FT_Get_Advance() in it.
+ * src/sfnt/ttcmap.c: Include FT_SERVICE_POSTSCRIPT_CMAPS_H
+ to use PS_Unicodes in it, also include `ttpost.h' to use
+ tt_face_get_ps_name() in it.
+
2017-09-11 Azzuro <azzuro@team-mediaportal.com>
[build] Improve builds with different MS Visual Studio versions.
diff --git a/src/autofit/afshaper.c b/src/autofit/afshaper.c
index da92fad3e..d25996421 100644
--- a/src/autofit/afshaper.c
+++ b/src/autofit/afshaper.c
@@ -18,6 +18,7 @@
#include <ft2build.h>
#include FT_FREETYPE_H
+#include FT_ADVANCES_H
#include "afglobal.h"
#include "aftypes.h"
#include "afshaper.h"
diff --git a/src/sfnt/ttcmap.c b/src/sfnt/ttcmap.c
index ef03e0442..b995e5c05 100644
--- a/src/sfnt/ttcmap.c
+++ b/src/sfnt/ttcmap.c
@@ -23,8 +23,10 @@
#include FT_INTERNAL_VALIDATE_H
#include FT_INTERNAL_STREAM_H
+#include FT_SERVICE_POSTSCRIPT_CMAPS_H
#include "ttload.h"
#include "ttcmap.h"
+#include "ttpost.h"
#include "sfntpic.h"