Commit 76f1b9d9cf4309d86a2cdb77a6e763e05a1de8e1

suzuki toshiya 2009-09-25T23:57:30

[autofit] Fix for multi build.

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