[libvirt PATCH 3/5] Include sys/wait.h instead of wait.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That is the proper POSIX way.

Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>
---
 src/lxc/lxc_driver.c             | 2 +-
 src/security/security_apparmor.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
index 8c041540ab47..84d1f3935863 100644
--- a/src/lxc/lxc_driver.c
+++ b/src/lxc/lxc_driver.c
@@ -32,7 +32,7 @@
 #include <sys/stat.h>
 #include <poll.h>
 #include <unistd.h>
-#include <wait.h>
+#include <sys/wait.h>
 
 #include "virerror.h"
 #include "virlog.h"
diff --git a/src/security/security_apparmor.c b/src/security/security_apparmor.c
index d1087aa10cf8..8f7acba9800c 100644
--- a/src/security/security_apparmor.c
+++ b/src/security/security_apparmor.c
@@ -26,7 +26,7 @@
 #include <fcntl.h>
 #include <sys/apparmor.h>
 #include <unistd.h>
-#include <wait.h>
+#include <sys/wait.h>
 
 #include "internal.h"
 
-- 
2.35.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux