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




commit 662f46c756f34628d18e29e2fbc105be267784fc
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]