summaryrefslogtreecommitdiff
path: root/src/renderer
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2012-04-02 17:23:46 +0000
committerTim Angus <tim@ngus.net>2013-01-12 20:19:22 +0000
commit80aa40ca047a50234a098948f7b92f6d0ef583dc (patch)
treeb6400f2215569e0d83f723213dc1ca5c4cf0e0ae /src/renderer
parent53225e5b8eb2dffaccea9748be206b308e980ee7 (diff)
Use FreeType include macros instead of filenames directly (per the API docs), patch by Radegast.
Diffstat (limited to 'src/renderer')
-rw-r--r--src/renderer/tr_font.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/renderer/tr_font.c b/src/renderer/tr_font.c
index 3c35c798..54a832d8 100644
--- a/src/renderer/tr_font.c
+++ b/src/renderer/tr_font.c
@@ -74,11 +74,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#ifdef BUILD_FREETYPE
#include <ft2build.h>
-#include <freetype/fterrors.h>
-#include <freetype/ftsystem.h>
-#include <freetype/ftimage.h>
-#include <freetype/freetype.h>
-#include <freetype/ftoutln.h>
+#include FT_ERRORS_H
+#include FT_SYSTEM_H
+#include FT_IMAGE_H
+#include FT_FREETYPE_H
+#include FT_OUTLINE_H
#define _FLOOR(x) ((x) & -64)
#define _CEIL(x) (((x)+63) & -64)