Include sys/wait.h instead of wait.h

That is the proper POSIX way.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Martin Kletzander 2022-03-03 13:17:02 +01:00
parent afecf0ee0b
commit fad2bff51e
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -26,7 +26,7 @@
#include <fcntl.h>
#include <sys/apparmor.h>
#include <unistd.h>
#include <wait.h>
#include <sys/wait.h>
#include "internal.h"