FIO: Add NetBSD and OpenBSD to platforms that could use mmap and shm APIs
As reported in #1083
This commit is contained in:
parent
08a0ad2d88
commit
06a8447d26
1 changed files with 1 additions and 1 deletions
|
@ -681,7 +681,7 @@ if ((stbuf.st_mode & S_IFIFO)) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined (__linux__) || defined (__APPLE__) || defined (__CYGWIN__) || defined (__FreeBSD__)
|
#if defined (__linux__) || defined (__APPLE__) || defined (__CYGWIN__) || defined (__FreeBSD__) || defined(__NetBSD__) || defined (__OpenBSD__)
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
|
|
||||||
struct SHMEM {
|
struct SHMEM {
|
||||||
|
|
Loading…
Add table
Reference in a new issue