[pango/pango2-windows: 118/123] pango-fontmap.c: Fix build on Windows




commit 4e5ad0d435da83ab853ee7961e305ff3573ea8fc
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 86179928d..5221ed019 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]