[Pkg-libvirt-commits] [libguestfs] 27/61: Include sys/wait.h where needed

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 31 19:09:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag debian/1%1.28.2-1
in repository libguestfs.

commit a63099a2988948468a61c6cc6cd8f4ae8f600537
Author: Pino Toscano <ptoscano at redhat.com>
Date:   Thu Oct 16 10:29:24 2014 +0200

    Include sys/wait.h where needed
    
    Required for using WIFEXITED, WEXITSTATUS, etc. Apparently implicitly
    pulled so far.
    
    (cherry picked from commit b7d2226926694827e04cdc0fd0887c7b81c32c86)
---
 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"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list