summaryrefslogtreecommitdiff
path: root/Build/source/libs/freetype2/freetype-src/src/dlg/dlgwrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/freetype2/freetype-src/src/dlg/dlgwrap.c')
-rw-r--r--Build/source/libs/freetype2/freetype-src/src/dlg/dlgwrap.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/Build/source/libs/freetype2/freetype-src/src/dlg/dlgwrap.c b/Build/source/libs/freetype2/freetype-src/src/dlg/dlgwrap.c
index 5b2006c1260..e0b9a8d29d6 100644
--- a/Build/source/libs/freetype2/freetype-src/src/dlg/dlgwrap.c
+++ b/Build/source/libs/freetype2/freetype-src/src/dlg/dlgwrap.c
@@ -16,15 +16,12 @@
*/
- /* We have to duplicate these feature test macros from `dlg.c` */
- /* since `freetype.h` loads some affected standard headers. */
-#define _XOPEN_SOURCE 600
-#define _POSIX_C_SOURCE 200809L
-
-#include <freetype/freetype.h>
+#include <ft2build.h>
+#include FT_CONFIG_OPTIONS_H
#ifdef FT_DEBUG_LOGGING
+#define DLG_STATIC
#include "dlg.c"
#else
/* ANSI C doesn't like empty source files */