[gtk/wip.win32.fixes: 70/70] gdkdisplay.c: Include stdlib.h




commit 9d3dc119eb5966aa0a369e425906cd874f2b78b6
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Thu Oct 7 15:04:18 2021 +0800

    gdkdisplay.c: Include stdlib.h
    
    It is needed for qsort().

 gdk/gdkdisplay.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 7d36f2e371..075342a26b 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -40,6 +40,7 @@
 #include <epoxy/egl.h>
 #endif
 #include <math.h>
+#include <stdlib.h>
 
 /**
  * GdkDisplay:


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