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
This commit is contained in:
Owen W. Taylor 2010-03-15 11:09:49 -04:00
parent ff4f096f1d
commit 67f8a33cad

View File

@ -32,6 +32,7 @@
#include "workspace.h"
#include <sys/types.h>
#include <sys/wait.h>
#include <signal.h>
#include <unistd.h>
#include <errno.h>