[PATCH i-g-t v2 4/7] runner: use poll.h in includes
Reagan Bohan
reagan at ourmail.work
Sat Apr 27 11:18:42 UTC 2024
sys/poll.h is non-standard and including it on musl produces a warning.
Signed-off-by: Reagan Bohan <reagan at ourmail.work>
---
runner/executor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runner/executor.c b/runner/executor.c
index d3e6296dd..4b374d223 100644
--- a/runner/executor.c
+++ b/runner/executor.c
@@ -16,7 +16,6 @@
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/select.h>
-#include <sys/poll.h>
#include <sys/signalfd.h>
#include <sys/socket.h>
#include <sys/stat.h>
@@ -25,6 +24,7 @@
#include <sys/utsname.h>
#include <sys/wait.h>
#include <dirent.h>
+#include <poll.h>
#include <time.h>
#include <unistd.h>
--
2.43.2
More information about the igt-dev
mailing list