[gnome-power-manager] brightness-applet: Add missing include



commit c4d201f5f03fd6e6c418e9457296788003eb35b0
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 554e25b..4851c39 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]