aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReagan Bohan <reagan@ourmail.work>2024-04-27 11:18:42 +0000
committerKamil Konieczny <kamil.konieczny@linux.intel.com>2024-05-07 09:56:44 +0200
commit33aa40f187ce0de941cd6ef43626bdee10d16b90 (patch)
tree651f6d524e7284fcd9e55f99540c1f164a24e0a3
parent0a5cc56d9dd76414510b357383a3ee7c56c638f2 (diff)
downloadigt-gpu-tools-33aa40f187ce0de941cd6ef43626bdee10d16b90.tar.gz
runner: use poll.h in includes
sys/poll.h is non-standard and including it on musl produces a warning. Signed-off-by: Reagan Bohan <reagan@ourmail.work> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
-rw-r--r--runner/executor.c2
1 files changed, 1 insertions, 1 deletions
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>