gdkdisplay.c: Include stdlib.h
authorChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 7 Oct 2021 07:04:18 +0000 (15:04 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 7 Oct 2021 10:00:51 +0000 (18:00 +0800)
It is needed for qsort().

gdk/gdkdisplay.c

index 7d36f2e371383a4d340195e150cb2c4fd130487d..075342a26bc969dc0b3424de9456543b86723812 100644 (file)
@@ -40,6 +40,7 @@
 #include <epoxy/egl.h>
 #endif
 #include <math.h>
+#include <stdlib.h>
 
 /**
  * GdkDisplay: