From d021d298226aa392c9c21394535fe71c625c36cc Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 4 Aug 2024 21:55:43 +0100 Subject: libcamera: Add missing include to base/file.h Without the change the build fails on upcoming `gcc-15` as: In file included from ../src/libcamera/base/file.cpp:8: ../include/libcamera/base/file.h:62:33: error: 'uint8_t' was not declared in this scope 62 | ssize_t read(const Span &data); | ^~~~~~~ Signed-off-by: Sergei Trofimovich Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart Reviewed-by: Daniel Scally --- include/libcamera/base/file.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/libcamera/base/file.h b/include/libcamera/base/file.h index 5637934c..192668ab 100644 --- a/include/libcamera/base/file.h +++ b/include/libcamera/base/file.h @@ -7,6 +7,7 @@ #pragma once +#include #include #include -- cgit v1.2.1