[dlg] Lighten up the inclusions.
The DLG wrapper needs to know if FT_DEBUG_LOGGING is defined in `ftoption.h`. It does not need entire FreeType. * src/dlg/dlgwrap.c: Include FT_CONFIG_OPTIONS_H directly.
This commit is contained in:
parent
cb9e7b7aac
commit
c693377ed3
|
@ -16,12 +16,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/* We have to duplicate these feature test macros from `dlg.c` */
|
#include <ft2build.h>
|
||||||
/* since `freetype.h` loads some affected standard headers. */
|
#include FT_CONFIG_OPTIONS_H
|
||||||
#define _XOPEN_SOURCE 600
|
|
||||||
#define _POSIX_C_SOURCE 200809L
|
|
||||||
|
|
||||||
#include <freetype/freetype.h>
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef FT_DEBUG_LOGGING
|
#ifdef FT_DEBUG_LOGGING
|
||||||
|
|
Loading…
Reference in New Issue