[gnome-settings-daemon/gnome-3-8] Fix build on non-Linux platforms
- From: Emilio Pozuelo Monfort <epm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/gnome-3-8] Fix build on non-Linux platforms
- Date: Wed, 27 Mar 2013 11:59:56 +0000 (UTC)
commit 3bf6326c48092bc3ccc019748bd50dc2c75bb067
Author: Emilio Pozuelo Monfort <pochu27 gmail com>
Date: Sun Mar 24 21:38:17 2013 +0100
Fix build on non-Linux platforms
We need stdlib.h to get the definition of NULL.
https://bugzilla.gnome.org/show_bug.cgi?id=696515
plugins/power/gsd-backlight-linux.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/power/gsd-backlight-linux.c b/plugins/power/gsd-backlight-linux.c
index f8f91a0..bbaf490 100644
--- a/plugins/power/gsd-backlight-linux.c
+++ b/plugins/power/gsd-backlight-linux.c
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include <stdlib.h>
+
#include "config.h"
#include "gsd-backlight-linux.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]