[cheese] Add missing stdlib.h includes
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] Add missing stdlib.h includes
- Date: Wed, 22 Aug 2012 20:11:08 +0000 (UTC)
commit 388fd6ee0462b52f86b264cb1508155edcd34b56
Author: Bastien Nocera <hadess hadess net>
Date: Wed Aug 22 20:31:24 2012 +0100
Add missing stdlib.h includes
For the EXIT_* macro definitions.
https://bugzilla.gnome.org/show_bug.cgi?id=682491
tests/cheese-test-monitor.c | 1 +
tests/cheese-test-widget.c | 2 +-
tests/test-libcheese.c | 1 +
3 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/tests/cheese-test-monitor.c b/tests/cheese-test-monitor.c
index 8fd0b6f..db3b52d 100644
--- a/tests/cheese-test-monitor.c
+++ b/tests/cheese-test-monitor.c
@@ -1,4 +1,5 @@
#include <glib.h>
+#include <stdlib.h>
#include "cheese-camera-device-monitor.h"
#include "cheese-camera-device.h"
diff --git a/tests/cheese-test-widget.c b/tests/cheese-test-widget.c
index 19f1fc6..ca396fc 100644
--- a/tests/cheese-test-widget.c
+++ b/tests/cheese-test-widget.c
@@ -1,6 +1,6 @@
-
#include "cheese-config.h"
+#include <stdlib.h>
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include <gst/gst.h>
diff --git a/tests/test-libcheese.c b/tests/test-libcheese.c
index 9657922..c428ac0 100644
--- a/tests/test-libcheese.c
+++ b/tests/test-libcheese.c
@@ -19,6 +19,7 @@
#include "cheese-config.h"
+#include <stdlib.h>
#include <glib/gi18n.h>
#include "cheese-camera-device.h"
#include "cheese-camera-device-monitor.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]