blob: ff29c51c18e2e03ed410677c44a4ff92526d2113 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 {
|