summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReagan Bohan <reagan@ourmail.work>2024-04-27 11:18:41 +0000
committerKamil Konieczny <kamil.konieczny@linux.intel.com>2024-05-07 09:56:44 +0200
commit0a5cc56d9dd76414510b357383a3ee7c56c638f2 (patch)
tree126177b8d18908d1a290c860e4d58c6fb08c4015
parent2e87106c1cf9dc674d4101ca839ccfe79f76c00a (diff)
benchmarks: 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--benchmarks/gem_busy.c2
-rw-r--r--benchmarks/gem_latency.c2
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"