summaryrefslogtreecommitdiff
path: root/fonts/ttmkfdir2/patches/patch-ac
blob: b0345b532b7f0d4dc0c130381c9bbbb723bdb865 (plain)
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
$NetBSD: patch-ac,v 1.3 2004/04/28 00:10:04 recht Exp $

--- ttf.h.orig	2004-04-28 02:03:16.000000000 +0200
+++ ttf.h	2004-04-28 02:03:35.000000000 +0200
@@ -3,16 +3,19 @@
 #define TTF_H__
 
 #include <string>
-#include "freetype/freetype.h"
-#include "freetype/tttables.h"
-#include "freetype/ftsnames.h"
-#include "freetype/ttnameid.h"
-#include "freetype/fterrors.h"
-#include "freetype/ftmodule.h"
+#include <ft2build.h>
+#include FT_FREETYPE_H
+#include FT_TRUETYPE_TABLES_H
+#include FT_SFNT_NAMES_H
+#include FT_TRUETYPE_IDS_H
+#include FT_ERRORS_H
+#include FT_MODULE_H
 
 #include "util.h"
 #include "encoding.h"
 
+using namespace std;
+
 namespace ttf {
 
     class Face {