summaryrefslogtreecommitdiff
path: root/src/libvirt.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2020-01-16 11:38:18 +0000
committerDaniel P. Berrangé <berrange@redhat.com>2020-02-04 14:00:44 +0000
commitbfeb56b3adbf343f65934d641da87499950a9bf3 (patch)
tree6cfe331f2893f6c6bf92185fa1be92245faa721a /src/libvirt.c
parentaa52947fc66c7b9d866b155ff88234bbebe714c2 (diff)
downloadlibvirt-bfeb56b3adbf343f65934d641da87499950a9bf3.tar.gz
src: remove sys/wait.h from many files
Most code now uses the virProcess / virCommand APIs, so the need for sys/wait.h is quite limited. Removing this include removes the dependency on GNULIB providing a dummy sys/wait.h for Windows. Reviewed-by: Pavel Hrdina <phrdina@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'src/libvirt.c')
-rw-r--r--src/libvirt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libvirt.c b/src/libvirt.c
index 2d02808a89..a30eaa7590 100644
--- a/src/libvirt.c
+++ b/src/libvirt.c
@@ -24,7 +24,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
-#include <sys/wait.h>
#include <time.h>
#include <gio/gnetworking.h>