That is the proper POSIX way.
Signed-off-by: Martin Kletzander <mkletzan(a)redhat.com>
---
src/lxc/lxc_driver.c | 2 +-
src/network/bridge_driver.c | 2 +-
src/openvz/openvz_driver.c | 2 +-
src/qemu/qemu_driver.c | 2 +-
src/vz/vz_driver.c | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
index 020ec257aef1..8c041540ab47 100644
--- a/src/lxc/lxc_driver.c
+++ b/src/lxc/lxc_driver.c
@@ -30,7 +30,7 @@
#endif
#include <sys/stat.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <unistd.h>
#include <wait.h>
diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
index d6ae05360b24..67c5a111b350 100644
--- a/src/network/bridge_driver.c
+++ b/src/network/bridge_driver.c
@@ -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>
diff --git a/src/openvz/openvz_driver.c b/src/openvz/openvz_driver.c
index aa1db095400b..53214586a550 100644
--- a/src/openvz/openvz_driver.c
+++ b/src/openvz/openvz_driver.c
@@ -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>
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 8337eed510d8..812a900fa8b5 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -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>
diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c
index fc91b6dddf45..fdd776282e82 100644
--- a/src/vz/vz_driver.c
+++ b/src/vz/vz_driver.c
@@ -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>
--
2.35.1