[PATCH i-g-t v2 3/7] benchmarks: use poll.h in includes
Reagan Bohan
reagan at ourmail.work
Sat Apr 27 11:18:41 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>
---
benchmarks/gem_busy.c | 2 +-
benchmarks/gem_latency.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/benchmarks/gem_busy.c b/benchmarks/gem_busy.c
index 514e3387e..95d0fb971 100644
--- a/benchmarks/gem_busy.c
+++ b/benchmarks/gem_busy.c
@@ -33,8 +33,8 @@
#include <fcntl.h>
#include <inttypes.h>
#include <errno.h>
+#include <poll.h>
#include <sys/stat.h>
-#include <sys/poll.h>
#include <sys/ioctl.h>
#include <sys/time.h>
#include <time.h>
diff --git a/benchmarks/gem_latency.c b/benchmarks/gem_latency.c
index 6abf366f9..d3ebab005 100644
--- a/benchmarks/gem_latency.c
+++ b/benchmarks/gem_latency.c
@@ -36,10 +36,10 @@
#include <inttypes.h>
#include <limits.h>
#include <errno.h>
+#include <poll.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/time.h>
-#include <sys/poll.h>
#include <sys/resource.h>
#include "drm.h"
--
2.43.2
More information about the igt-dev
mailing list