[gnome-settings-daemon/gnome-3-2] power: Fix "undefined symbol: WEXITSTATUS" error.



commit 9b141728c889a6d2f88767655661318e3d8d82da
Author: Malcolm Lewis <malcolmlewis opensuse org>
Date:   Mon Oct 17 11:43:06 2011 -0500

    power: Fix "undefined symbol: WEXITSTATUS" error.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=662020

 plugins/power/gsd-power-manager.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index 010d14a..3f10c22 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -24,6 +24,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
+#include <sys/wait.h>
 #include <glib/gi18n.h>
 #include <gtk/gtk.h>
 #include <libupower-glib/upower.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]