From 06a8447d26810110a8b168d7525955479bcd3f3a Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Tue, 12 Oct 2021 18:53:56 -0700 Subject: [PATCH] FIO: Add NetBSD and OpenBSD to platforms that could use mmap and shm APIs As reported in #1083 --- sim_fio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim_fio.c b/sim_fio.c index 6890f757..e27d26c4 100644 --- a/sim_fio.c +++ b/sim_fio.c @@ -681,7 +681,7 @@ if ((stbuf.st_mode & S_IFIFO)) { 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 struct SHMEM {