Commit 754d558893d71e2a46da8a9c35bc137378bfea36

Werner Lemberg 2003-09-12T20:32:51

* src/cff/cffcmap.c: Include `cfferrs.h'. * src/pfr/pfrdrivr.c: Include `pfrerror.h'. * src/sfnt/sfdriver.c: Include `sferrors.h'. * src/psaux/psobjs.h: Add declaration for `ps_parser_to_bytes'.

diff --git a/ChangeLog b/ChangeLog
index 4dc6680..6a50e27 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,11 @@
 	* include/freetype/internal/ftserv.h (FT_SERVICE_SFNT_H): New macro.
 	* src/base/ftobjs.c: Include FT_SERVICE_SFNT_H.
 
+	* src/cff/cffcmap.c: Include `cfferrs.h'.
+	* src/pfr/pfrdrivr.c: Include `pfrerror.h'.
+	* src/sfnt/sfdriver.c: Include `sferrors.h'.
+	* src/psaux/psobjs.h: Add declaration for `ps_parser_to_bytes'.
+
 2003-09-11  David Turner  <david@freetype.org>
 
 	Introducing the concept of `module services'.  This is the first
diff --git a/src/cff/cffcmap.c b/src/cff/cffcmap.c
index 5ed9d5d..ef1735a 100644
--- a/src/cff/cffcmap.c
+++ b/src/cff/cffcmap.c
@@ -19,6 +19,8 @@
 #include "cffcmap.h"
 #include "cffload.h"
 
+#include "cfferrs.h"
+
 
   /*************************************************************************/
   /*************************************************************************/
diff --git a/src/pfr/pfrdrivr.c b/src/pfr/pfrdrivr.c
index 3935e2e..4d8980c 100644
--- a/src/pfr/pfrdrivr.c
+++ b/src/pfr/pfrdrivr.c
@@ -23,6 +23,8 @@
 #include "pfrdrivr.h"
 #include "pfrobjs.h"
 
+#include "pfrerror.h"
+
 
   static FT_Error
   pfr_get_kerning( PFR_Face    face,
diff --git a/src/psaux/psobjs.h b/src/psaux/psobjs.h
index 8b214f6..528efc3 100644
--- a/src/psaux/psobjs.h
+++ b/src/psaux/psobjs.h
@@ -108,6 +108,13 @@ FT_BEGIN_HEADER
   ps_parser_to_int( PS_Parser  parser );
 
 
+  FT_LOCAL( FT_Error )
+  ps_parser_to_bytes( PS_Parser  parser,
+                      FT_Byte*   bytes,
+                      FT_Int     max_bytes,
+                      FT_Int*    pnum_bytes );
+
+
   FT_LOCAL( FT_Fixed )
   ps_parser_to_fixed( PS_Parser  parser,
                       FT_Int     power_ten );
diff --git a/src/sfnt/sfdriver.c b/src/sfnt/sfdriver.c
index 80551be..2242513 100644
--- a/src/sfnt/sfdriver.c
+++ b/src/sfnt/sfdriver.c
@@ -25,6 +25,8 @@
 #include "ttcmap.h"
 #include "sfobjs.h"
 
+#include "sferrors.h"
+
 #ifdef TT_CONFIG_OPTION_EMBEDDED_BITMAPS
 #include "ttsbit.h"
 #endif