diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2024-08-04 21:55:43 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-08-12 14:57:35 +0300 |
commit | d021d298226aa392c9c21394535fe71c625c36cc (patch) | |
tree | 4cd1844dae585c4042083ee53bbaa75f4f2078ce | |
parent | 62760bd2605a83e663b9003244ff42f8946f8955 (diff) |
libcamera: Add missing <stdint.h> 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<uint8_t> &data);
| ^~~~~~~
Signed-off-by: Sergei Trofimovich <slyich@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
-rw-r--r-- | include/libcamera/base/file.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 <stdint.h> #include <sys/types.h> #include <map> |