From 59be23f34e6b8668d391be5483df6dad15ed525e Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 12 Feb 2026 17:15:59 +0200 Subject: [PATCH] android: camera_stream: Include instead of MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The standard C library header for the poll() API is poll.h, not sys/poll.h. The musl C library warns about this: In file included from src/android/camera_stream.cpp:13: host/i586-buildroot-linux-musl/sysroot/usr/include/sys/poll.h:1:2: error: #warning redirecting incorrect #include to [-Werror=cpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ Fix it by including the correct header. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Reviewed-by: Barnabás Pőcze --- src/android/camera_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android/camera_stream.cpp b/src/android/camera_stream.cpp index 1d68540d..7da01dc3 100644 --- a/src/android/camera_stream.cpp +++ b/src/android/camera_stream.cpp @@ -8,9 +8,9 @@ #include "camera_stream.h" #include +#include #include #include -#include #include #include