[gnome-power-manager/gnome-2-32] brightness-applet: Add missing include
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-power-manager/gnome-2-32] brightness-applet: Add missing include
- Date: Thu, 19 Aug 2010 15:05:29 +0000 (UTC)
commit eb407c4fd5902a41567e4013e6fb5f5610c06b36
Author: Martin Pitt <martin pitt ubuntu com>
Date: Thu Aug 19 17:04:41 2010 +0200
brightness-applet: Add missing include
brightness-applet.c: In function â??mainâ??:
brightness-applet.c:1026: warning: implicit declaration of function â??unsetenvâ??
Include <stdlib.h> to fix this.
applets/brightness/brightness-applet.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/applets/brightness/brightness-applet.c b/applets/brightness/brightness-applet.c
index f8cd00c..fa82a93 100644
--- a/applets/brightness/brightness-applet.c
+++ b/applets/brightness/brightness-applet.c
@@ -26,6 +26,7 @@
#endif
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <panel-applet.h>
#include <gtk/gtk.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]