Fix build with freetype2-2.1.7.

Submitted by: Jeremy Prior <jez@netcraft.com>
This commit is contained in:
Michael Nottebrock 2004-03-18 16:42:48 +00:00
parent eada7232c7
commit d02410e2b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104493

View file

@ -0,0 +1,12 @@
--- SDL_ttf.c.orig Thu Mar 18 15:06:45 2004
+++ SDL_ttf.c Thu Mar 18 15:07:13 2004
@@ -39,7 +39,8 @@
#define FREEA(p) free(p)
#endif
-#include <freetype/freetype.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
#include <freetype/ftoutln.h>
#include <freetype/ttnameid.h>
#include <freetype/internal/ftobjs.h>