font chooser: Properly include freetype headers

freetype headers should be included via <ft2build.h> and then
indirectly via FT_*_H macros.

Fixes issue #1432.
This commit is contained in:
Leonardo Taccari 2018-11-09 22:13:30 +01:00
parent f610fbfc0e
commit b3ba2961d2

View File

@ -61,8 +61,9 @@
#include <hb.h>
#include <hb-ot.h>
#include <hb-ft.h>
#include <freetype/freetype.h>
#include <freetype/ftmm.h>
#include <ft2build.h>
#include FT_FREETYPE_H
#include FT_MULTIPLE_MASTERS_H
#include "language-names.h"
#include "script-names.h"
#endif