From 902ec1fe0e80039367a16fc6db10a6368307269c Mon Sep 17 00:00:00 2001 From: David Heidelberg Date: Mon, 7 Nov 2022 23:02:59 +0100 Subject: [PATCH] replace sys/poll.h with poll.h Fixes multiple warnings as this one: ``` /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ ``` Acked-by: Yonggang Luo Signed-off-by: David Heidelberg Part-of: --- src/gallium/drivers/panfrost/pan_context.c | 2 +- src/util/libsync.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c index 30f30ed261d..2dc067ab0a7 100644 --- a/src/gallium/drivers/panfrost/pan_context.c +++ b/src/gallium/drivers/panfrost/pan_context.c @@ -25,8 +25,8 @@ * */ -#include #include +#include #include "pan_bo.h" #include "pan_context.h" diff --git a/src/util/libsync.h b/src/util/libsync.h index 8ac7657384a..60e3e5db67e 100644 --- a/src/util/libsync.h +++ b/src/util/libsync.h @@ -30,11 +30,11 @@ #include #include +#include #include #include #include #include -#include #include #include