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