summaryrefslogtreecommitdiffstats
path: root/libvo/font_load.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-28 20:52:02 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-28 20:52:02 +0000
commitfd44bbee3de65f95bdd9e5108b17277f1cac3d59 (patch)
tree4652fa878c4ee165fbea28d8d59abdcb3cfbabdc /libvo/font_load.c
parent5e59ee334476b6fa1b557cb87d1dca8be24e02c3 (diff)
downloadmpv-fd44bbee3de65f95bdd9e5108b17277f1cac3d59.tar.bz2
mpv-fd44bbee3de65f95bdd9e5108b17277f1cac3d59.tar.xz
freetype 2.0/2.1+ support - disabled by default until bugs fixed
patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7123 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/font_load.c')
-rw-r--r--libvo/font_load.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libvo/font_load.c b/libvo/font_load.c
index 4a35a5eb65..646817e0c1 100644
--- a/libvo/font_load.c
+++ b/libvo/font_load.c
@@ -1,3 +1,6 @@
+#include "config.h"
+
+#ifndef HAVE_FREETYPE
#include <stdio.h>
#include <stdlib.h>
@@ -6,7 +9,6 @@
#include <sys/stat.h>
#include <unistd.h>
-#include "config.h"
#include "font_load.h"
extern char *get_path ( char * );
@@ -300,3 +302,5 @@ read_font_desc("high_arpi.desc",1);
}
#endif
+
+#endif /* HAVE_FREETYPE */