[gtksourceview: 1/2] Fix build in Win32 platform




commit d82dfc0a935787da0d7f9e513007fb84cf95480a
Author: Biswapriyo Nath <nathbappai gmail com>
Date:   Sun Jan 9 13:46:07 2022 +0000

    Fix build in Win32 platform
    
    Include windows.h for GetSystemInfo API

 gtksourceview/gtksourceutils.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/gtksourceview/gtksourceutils.c b/gtksourceview/gtksourceutils.c
index ecac43bc..00b9017a 100644
--- a/gtksourceview/gtksourceutils.c
+++ b/gtksourceview/gtksourceutils.c
@@ -59,6 +59,10 @@
 #include "gtksourceutils.h"
 #include "gtksourceutils-private.h"
 
+#ifdef G_OS_WIN32
+#include <windows.h>
+#endif
+
 /**
  * gtk_source_utils_unescape_search_text:
  * @text: the text to unescape.


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