[mutter] Include <sys/wait.h> for WIFEXITSTATUS/WIFEXITED



commit 67f8a33cad6a39588f686504af6a7c9348af2a62
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Mon Mar 15 11:09:49 2010 -0400

    Include <sys/wait.h> for WIFEXITSTATUS/WIFEXITED
    
    Exit status macros are specified by POSIX to be in <sys/wait.h>.
    Fixes compilation on Solaris.
    
    Reported by Brian Cameron
    https://bugzilla.gnome.org/show_bug.cgi?id=612506

 src/core/delete.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/core/delete.c b/src/core/delete.c
index 584e201..3198625 100644
--- a/src/core/delete.c
+++ b/src/core/delete.c
@@ -32,6 +32,7 @@
 #include "workspace.h"
 
 #include <sys/types.h>
+#include <sys/wait.h>
 #include <signal.h>
 #include <unistd.h>
 #include <errno.h>



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