From 1907c883cad5563dc082cd4624e8f0531e32ab9a Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 24 Jun 2024 17:03:26 +0300 Subject: v4l2: v4l2_compat: Include missing headers The close() and ioctl() functions are declared in the unistd.h and sys/ioctl.h headers. Include them to provide the declarations. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- src/v4l2/v4l2_compat.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/v4l2') diff --git a/src/v4l2/v4l2_compat.cpp b/src/v4l2/v4l2_compat.cpp index bd016cbd..db8c465c 100644 --- a/src/v4l2/v4l2_compat.cpp +++ b/src/v4l2/v4l2_compat.cpp @@ -11,9 +11,11 @@ #include #include #include +#include #include #include #include +#include #include -- cgit v1.2.1