Required for using WIFEXITED, WEXITSTATUS, etc. Apparently implicitly
pulled so far.
---
daemon/ext2.c | 1 +
daemon/initrd.c | 1 +
daemon/lvm-filter.c | 1 +
diff/diff.c | 1 +
fish/file-edit.c | 1 +
src/dbdump.c | 1 +
src/filearch.c | 1 +
src/inspect-icon.c | 1 +
8 files changed, 8 insertions(+)
diff --git a/daemon/ext2.c b/daemon/ext2.c
index 2b3674c..31fef25 100644
--- a/daemon/ext2.c
+++ b/daemon/ext2.c
@@ -23,6 +23,7 @@
#include <inttypes.h>
#include <string.h>
#include <unistd.h>
+#include <sys/wait.h>
#include "guestfs_protocol.h"
#include "daemon.h"
diff --git a/daemon/initrd.c b/daemon/initrd.c
index ea34000..ac14826 100644
--- a/daemon/initrd.c
+++ b/daemon/initrd.c
@@ -25,6 +25,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
+#include <sys/wait.h>
#include "guestfs_protocol.h"
#include "daemon.h"
diff --git a/daemon/lvm-filter.c b/daemon/lvm-filter.c
index d82fde0..72fe6ac 100644
--- a/daemon/lvm-filter.c
+++ b/daemon/lvm-filter.c
@@ -24,6 +24,7 @@
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
+#include <sys/wait.h>
#include <augeas.h>
diff --git a/diff/diff.c b/diff/diff.c
index ad371b0..b113f29 100644
--- a/diff/diff.c
+++ b/diff/diff.c
@@ -30,6 +30,7 @@
#include <assert.h>
#include <time.h>
#include <libintl.h>
+#include <sys/wait.h>
#include "c-ctype.h"
#include "human.h"
diff --git a/fish/file-edit.c b/fish/file-edit.c
index dd2272b..3efd46d 100644
--- a/fish/file-edit.c
+++ b/fish/file-edit.c
@@ -32,6 +32,7 @@
#include <sys/stat.h>
#include <assert.h>
#include <utime.h>
+#include <sys/wait.h>
#include "guestfs-internal-frontend.h"
diff --git a/src/dbdump.c b/src/dbdump.c
index 684b2cf..f44f2d4 100644
--- a/src/dbdump.c
+++ b/src/dbdump.c
@@ -27,6 +27,7 @@
#include <string.h>
#include <sys/stat.h>
#include <errno.h>
+#include <sys/wait.h>
#ifdef HAVE_ENDIAN_H
#include <endian.h>
diff --git a/src/filearch.c b/src/filearch.c
index c0380d9..f7673a2 100644
--- a/src/filearch.c
+++ b/src/filearch.c
@@ -25,6 +25,7 @@
#include <unistd.h>
#include <string.h>
#include <sys/stat.h>
+#include <sys/wait.h>
#include <pcre.h>
diff --git a/src/inspect-icon.c b/src/inspect-icon.c
index 0ffca72..9871fde 100644
--- a/src/inspect-icon.c
+++ b/src/inspect-icon.c
@@ -27,6 +27,7 @@
#include <string.h>
#include <sys/stat.h>
#include <errno.h>
+#include <sys/wait.h>
#include "guestfs.h"
#include "guestfs-internal.h"
--
1.9.3