diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2013-03-13 21:44:04 +0200 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-04-11 13:42:25 -0400 |
commit | f0fe6bb38840ea7f5fe2adc9f03886f73a697e72 (patch) | |
tree | a9688c80f9c30e5f0853ea8a23a3982c34a75947 /src | |
parent | f102bda3ced9958ed16df3e1885d6c086c675a41 (diff) | |
download | polkit-f0fe6bb38840ea7f5fe2adc9f03886f73a697e72.tar.gz |
Add missing #include <sys/wait.h>
This is required for WIFEXITED, WEXITSTATUS, WIFSIGNALED,
WTERMSIG. This must have been implicit and nobody noticed, but isn't
with SH4 architecture (Linux, Gentoo, GNU gcc and glibc).
http://bugs.freedesktop.org/show_bug.cgi?id=62220
Diffstat (limited to 'src')
-rw-r--r-- | src/polkitbackend/polkitbackendjsauthority.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/polkitbackend/polkitbackendjsauthority.c b/src/polkitbackend/polkitbackendjsauthority.c index aa2838a..f66f436 100644 --- a/src/polkitbackend/polkitbackendjsauthority.c +++ b/src/polkitbackend/polkitbackendjsauthority.c @@ -20,6 +20,7 @@ */ #include "config.h" +#include <sys/wait.h> #include <errno.h> #include <pwd.h> #include <grp.h> |