diff options
Diffstat (limited to 'gcc12-includes.patch')
| -rw-r--r-- | gcc12-includes.patch | 20 |
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 { |
