[gtk/master.msvc: 27/27] 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: 27/27] demos/gtk-demo/listview*.c: Include stdlib.h
- Date: Fri, 5 Jun 2020 03:18:44 +0000 (UTC)
commit c370b8f30957fd3a41a8da10974e4c8a294fa963
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 b7a5c567fa..bc01d83eaf 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 3e86e18346..e5908047b3 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]