[autofit] Fix for multi build.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
diff --git a/ChangeLog b/ChangeLog
index a3e006b..3dfbd61 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2009-09-25 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
+
+ [autofit] Fix for multi build.
+
+ * src/autofit/afmodule.h: Include FT_INTERNAL_OBJECTS_H
+ to use FT_DECLARE_MODULE() macro in multi build.
+
+ * src/autofit/aflatin.c: Include <ft2build.h> to handle
+ FT_ADVANCES_H correctly in multi build.
+
2009-09-24 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
[cache] Check the face filled by FTC_Manager_LookupFace().
diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c
index bcb5601..394fb97 100644
--- a/src/autofit/aflatin.c
+++ b/src/autofit/aflatin.c
@@ -16,6 +16,7 @@
/***************************************************************************/
+#include <ft2build.h>
#include FT_ADVANCES_H
#include "aflatin.h"
diff --git a/src/autofit/afmodule.h b/src/autofit/afmodule.h
index 1e66176..d979239 100644
--- a/src/autofit/afmodule.h
+++ b/src/autofit/afmodule.h
@@ -20,6 +20,7 @@
#define __AFMODULE_H__
#include <ft2build.h>
+#include FT_INTERNAL_OBJECTS_H
#include FT_MODULE_H