FIO: Add NetBSD and OpenBSD to platforms that could use mmap and shm APIs

As reported in #1083
This commit is contained in:
Mark Pizzolato 2021-10-12 18:53:56 -07:00
parent 08a0ad2d88
commit 06a8447d26

View file

@ -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 {