Skip to content

Commit c9c7d7c

Browse files
committed
add sys/stat.h explicit include (linux)
1 parent aa6ac36 commit c9c7d7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/libsharedmemory/libsharedmemory.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
#if defined(__APPLE__) || defined(__linux__) || defined(__unix__) || defined(_POSIX_VERSION) || defined(__ANDROID__)
1919
#include <fcntl.h> // O_* constants
20+
#include <sys/stat.h>
2021
#include <sys/mman.h> // mmap, munmap
2122
#include <unistd.h> // shm functions, close
2223
#endif

0 commit comments

Comments
 (0)