aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo
diff options
context:
space:
mode:
authorGravatar henry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-11-20 16:25:40 +0000
committerGravatar henry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-11-20 16:25:40 +0000
commitec87c7239c5827fedf1504d78e1842d84fe1ce5d (patch)
tree67fa2ed7ac98c333c4a53ce8b83c1c7b255c1f33 /libvo
parenta61d1a3ec8ee7ec965a489281e62bc65a84dcc10 (diff)
freetype build fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11501 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/font_load.h3
-rw-r--r--libvo/font_load_ft.c5
2 files changed, 5 insertions, 3 deletions
diff --git a/libvo/font_load.h b/libvo/font_load.h
index 98517be1da..b2afd64308 100644
--- a/libvo/font_load.h
+++ b/libvo/font_load.h
@@ -2,7 +2,8 @@
#define __MPLAYER_FONT_LOAD_H
#ifdef HAVE_FREETYPE
-#include <freetype/freetype.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
#endif
typedef struct {
diff --git a/libvo/font_load_ft.c b/libvo/font_load_ft.c
index 352dbed2f9..141baeddfc 100644
--- a/libvo/font_load_ft.c
+++ b/libvo/font_load_ft.c
@@ -20,8 +20,9 @@
#include <iconv.h>
-#include <freetype/freetype.h>
-#include <freetype/ftglyph.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
+#include FT_GLYPH_H
#include "../bswap.h"
#include "font_load.h"