[pango/pango2-windows: 69/73] pango-fontmap.c: Fix build on Windows




commit f55ef23106e5c5b3f2e4e03afe50da104760b58c
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 1c2dba52..c1a64369 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]