13 lines
455 B
C++
13 lines
455 B
C++
$NetBSD: patch-alignment_ipc_SharedMemoryAllocator.hpp,v 1.2 2015/09/11 16:48:33 outpaddling Exp $
|
|
|
|
--- alignment/ipc/SharedMemoryAllocator.hpp.orig 2015-08-12 17:41:23.000000000 +0000
|
|
+++ alignment/ipc/SharedMemoryAllocator.hpp
|
|
@@ -7,6 +7,7 @@
|
|
#include <fcntl.h>
|
|
#include <unistd.h>
|
|
#include <sys/mman.h>
|
|
+#include <sys/stat.h>
|
|
|
|
template<typename T_Data>
|
|
int AllocateMappedShare(std::string &handle, int dataLength, T_Data *&dataPtr, int &shmId) {
|