[PATCH] libcamera: add missing <stdint.h> include to dma_buf_allocator.h
Sergei Trofimovich
slyich at gmail.com
Sat Dec 28 20:11:19 CET 2024
Without the change the build fails on upcoming `gcc-15` as:
In file included from ../src/libcamera/dma_buf_allocator.cpp:9:
../include/libcamera/internal/dma_buf_allocator.h:66:19: error: 'uint64_t' has not been declared
66 | void sync(uint64_t step);
| ^~~~~~~~
---
include/libcamera/internal/dma_buf_allocator.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/libcamera/internal/dma_buf_allocator.h b/include/libcamera/internal/dma_buf_allocator.h
index fc5de2c1..56341470 100644
--- a/include/libcamera/internal/dma_buf_allocator.h
+++ b/include/libcamera/internal/dma_buf_allocator.h
@@ -8,6 +8,7 @@
#pragma once
#include <memory>
+#include <stdint.h>
#include <string>
#include <vector>
--
2.47.0
More information about the libcamera-devel
mailing list