From 68399b4244d85a1acc18ce669176b531b2eb7e32 Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Mon, 13 May 2024 16:57:35 +0000 Subject: [PATCH] * include/freetype/ftmm.h: Include `freetype.h`. Reported by Ben Wagner, see !326. --- include/freetype/ftmm.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/freetype/ftmm.h b/include/freetype/ftmm.h index a85d0be43..35ed039c8 100644 --- a/include/freetype/ftmm.h +++ b/include/freetype/ftmm.h @@ -19,6 +19,14 @@ #ifndef FTMM_H_ #define FTMM_H_ +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + FT_BEGIN_HEADER