summaryrefslogtreecommitdiff
path: root/gcc12-includes.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-10-10 11:11:31 +0000
committerCoprDistGit <infra@openeuler.org>2026-10-10 11:11:31 +0000
commit6cc799f0c59af3cf7ab8bd483e32ed643e23a6bf (patch)
tree847f3769d3acd584cfe96bbf00daf035682a6c78 /gcc12-includes.patch
parent74984d7f21959523c461fe5ba4553149ca6558e9 (diff)
automatic import of ros-humble-as2-platform-dji-osdk
Diffstat (limited to 'gcc12-includes.patch')
-rw-r--r--gcc12-includes.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/gcc12-includes.patch b/gcc12-includes.patch
new file mode 100644
index 0000000..ff29c51
--- /dev/null
+++ b/gcc12-includes.patch
@@ -0,0 +1,20 @@
+--- a/osdk-core/modules/inc/filemgr/impl/mmap_file_buffer.hpp
++++ b/osdk-core/modules/inc/filemgr/impl/mmap_file_buffer.hpp
+@@ -10,6 +10,7 @@
+ #include <fcntl.h>
+ #include <unistd.h>
+ #include <memory>
++#include <string>
+ #include <atomic>
+
+ namespace DJI {
+--- a/osdk-core/modules/src/filemgr/impl/mmap_file_buffer.cpp
++++ b/osdk-core/modules/src/filemgr/impl/mmap_file_buffer.cpp
+@@ -3,6 +3,7 @@
+ #include "mmap_file_buffer.hpp"
+ #include "dji_log.hpp"
+ #include <string.h>
++#include <cstdio>
+
+ namespace DJI {
+ namespace OSDK {