[pango/pango2-windows: 207/211] pango-fontmap.c: Fix build on Windows




commit 0bad5ed00fcc6cb1f728c5319d000a767b1d9bf3
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Thu Jun 9 15:47:57 2022 +0800

    pango-fontmap.c: Fix build on Windows
    
    We need to make sure that we include the correct headers, as well as the
    headers we need for pango_cairo_context_get_merged_font_options () and
    getenv().

 pango/pango-fontmap.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/pango/pango-fontmap.c b/pango/pango-fontmap.c
index 5436d03b..16d33830 100644
--- a/pango/pango-fontmap.c
+++ b/pango/pango-fontmap.c
@@ -20,6 +20,7 @@
 
 #include "config.h"
 #include <math.h>
+#include <stdlib.h>
 
 #include <gio/gio.h>
 
@@ -41,7 +42,7 @@
 #endif
 
 #ifdef HAVE_DIRECT_WRITE
-#include "pangodwrite-hbfontmap.h"
+#include "pangodwrite-fontmap.h"
 #endif
 
 #ifdef HAVE_FONTCONFIG


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]