[gtk/master.msvc: 2436/2436] demos/gtk-demo/listview*.c: Include stdlib.h
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/master.msvc: 2436/2436] demos/gtk-demo/listview*.c: Include stdlib.h
- Date: Thu, 4 Jun 2020 08:37:20 +0000 (UTC)
commit 8eae6c91ba815d37cf5adffd89fffb6f1f73f1cc
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Thu Jun 4 16:35:02 2020 +0800
demos/gtk-demo/listview*.c: Include stdlib.h
atoi() and qsort() both require this header for them to be defined
demos/gtk-demo/listview_colors.c | 2 ++
demos/gtk-demo/listview_settings.c | 2 ++
2 files changed, 4 insertions(+)
---
diff --git a/demos/gtk-demo/listview_colors.c b/demos/gtk-demo/listview_colors.c
index c67f4ee4e8..7e3a10a7bd 100644
--- a/demos/gtk-demo/listview_colors.c
+++ b/demos/gtk-demo/listview_colors.c
@@ -11,6 +11,8 @@
#include <gtk/gtk.h>
+#include <stdlib.h>
+
#define GTK_TYPE_COLOR (gtk_color_get_type ())
G_DECLARE_FINAL_TYPE (GtkColor, gtk_color, GTK, COLOR, GObject)
diff --git a/demos/gtk-demo/listview_settings.c b/demos/gtk-demo/listview_settings.c
index 5fcd2d08fa..589b1ccbb5 100644
--- a/demos/gtk-demo/listview_settings.c
+++ b/demos/gtk-demo/listview_settings.c
@@ -9,6 +9,8 @@
#include <gtk/gtk.h>
+#include <stdlib.h>
+
/* Create an object that wraps GSettingsSchemaKey because that's a boxed type */
typedef struct _SettingsKey SettingsKey;
struct _SettingsKey
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]