]> xenbits.xensource.com Git - libvirt.git/commitdiff
Include poll.h instead of sys/poll.h
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 3 Mar 2022 12:16:35 +0000 (13:16 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 7 Mar 2022 09:31:22 +0000 (10:31 +0100)
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>
src/lxc/lxc_driver.c
src/network/bridge_driver.c
src/openvz/openvz_driver.c
src/qemu/qemu_driver.c
src/vz/vz_driver.c

index 020ec257aef1742fa3792dbab69cb34041ae61cf..8c041540ab47c05f319e1f73b871152e8e9be64e 100644 (file)
@@ -30,7 +30,7 @@
 #endif
 
 #include <sys/stat.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <unistd.h>
 #include <wait.h>
 
index d6ae05360b244d1b66c43556dd4c3d57a3513391..67c5a111b3503890009c3aad3b3eb24cbd3df1d0 100644 (file)
@@ -22,7 +22,7 @@
 #include <config.h>
 
 #include <sys/types.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <stdarg.h>
 #include <unistd.h>
 #include <sys/utsname.h>
index aa1db095400b39ef44e6f2d95ce91717c0778ee9..53214586a5501353da1252b42281b487396994f8 100644 (file)
@@ -24,7 +24,7 @@
 #include <config.h>
 
 #include <sys/types.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <stdarg.h>
 #include <unistd.h>
 #include <sys/stat.h>
index 8337eed510d877540f31999f549f08b1145dc3c5..812a900fa8b5bc1a4106cf3c6617b58cf6a83597 100644 (file)
@@ -22,7 +22,7 @@
 #include <config.h>
 
 #include <sys/types.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/time.h>
 #include <dirent.h>
 #include <stdarg.h>
index fc91b6dddf4578849bc0fcfe855b652dbd216da5..fdd776282e82b4acd034f02a52f4f6144b4fefc3 100644 (file)
@@ -24,7 +24,7 @@
 #include <config.h>
 
 #include <sys/types.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <stdarg.h>
 #include <unistd.h>
 #include <sys/stat.h>