summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2024-08-04 21:55:44 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-08-12 14:57:35 +0300
commitb6369e7df246859c2a9f7196397413fb5e82d52f (patch)
treeef1724d3d321d23e48cd4a36bd403538eb4e4931
parentd021d298226aa392c9c21394535fe71c625c36cc (diff)
libcamera: Add missing <stdint.h> include to internal/yaml_parser.h
Without the change the build fails on upcoming `gcc-15` as: In file included from ../src/libcamera/yaml_parser.cpp:8: ../include/libcamera/internal/yaml_parser.h:183:41: error: 'uint8_t' was not declared in this scope 183 | std::is_same_v<uint8_t, T> || | ^~~~~~~ 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/internal/yaml_parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libcamera/internal/yaml_parser.h b/include/libcamera/internal/yaml_parser.h
index e38a2df9..16708e48 100644
--- a/include/libcamera/internal/yaml_parser.h
+++ b/include/libcamera/internal/yaml_parser.h
@@ -10,6 +10,7 @@
#include <iterator>
#include <map>
#include <optional>
+#include <stdint.h>
#include <string>
#include <vector>