shithub: freetype+ttf2subf

Download patch

ref: 6b41954e1845f6f3d898b27c77c602dbfb5d5544
parent: d5c1b27d58c4308745338cb0f3f710d6c1549982
author: Werner Lemberg <[email protected]>
date: Wed Dec 13 04:21:59 EST 2000

* builds/unix/ftsystem.c: Fixed typos.  Fixed inclusion of wrong
ftconfig.h file.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-12-13  Werner Lemberg  <[email protected]>
+
+	* builds/unix/ftsystem.c: Fixed typos.  Fixed inclusion of wrong
+	ftconfig.h file.
+
 2000-12-12  Werner Lemberg  <[email protected]>
 
 	* include/freetype/config/ft2build.h (FT2_ROOT, FT2_CONFIG_ROOT):
--- a/builds/unix/ftsystem.c
+++ b/builds/unix/ftsystem.c
@@ -17,12 +17,13 @@
 
 
 #include <ft2build.h>
-#include FT_CONFIG_CONFIG_H
+/* we use our special ftconfig.h file, not the standard one */
+#include <ftconfig.h>
 #include FT_INTERNAL_DEBUG_H
 #include FT_SYSTEM_H
 #include FT_ERRORS_H
-#include FT_TYPES_h
-#include FT_INTERNAL_FTOBJS_H
+#include FT_TYPES_H
+#include FT_INTERNAL_OBJECTS_H
 
   /* memory-mapping includes and definitions */
 #ifdef HAVE_UNISTD_H
@@ -55,6 +56,7 @@
 #endif /* NEED_DECLARATION_MUNMAP */
 
 
+#include <sys/types.h>
 #include <sys/stat.h>
 
 #ifdef HAVE_FCNTL_H