diff options
Diffstat (limited to 'executor/executor.cc')
| -rw-r--r-- | executor/executor.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/executor/executor.cc b/executor/executor.cc index 4ea40e0f2..7a0c115b8 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -484,6 +484,9 @@ static void parse_handshake(const handshake_req& req); #include "syscalls.h" #if GOOS_linux +#ifndef MAP_FIXED_NOREPLACE +#define MAP_FIXED_NOREPLACE 0x100000 +#endif #define MAP_FIXED_EXCLUSIVE MAP_FIXED_NOREPLACE #elif GOOS_freebsd #define MAP_FIXED_EXCLUSIVE (MAP_FIXED | MAP_EXCL) |
