mirror of
https://github.com/simh/simh.git
synced 2026-02-27 09:09:46 +00:00
FIO: Add NetBSD and OpenBSD to platforms that could use mmap and shm APIs
As reported in #1083
This commit is contained in:
@@ -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 <sys/mman.h>
|
||||
|
||||
struct SHMEM {
|
||||
|
||||
Reference in New Issue
Block a user