diff --git a/src/fs_unix.cpp b/src/fs_unix.cpp index 315838f7..e5c069c6 100644 --- a/src/fs_unix.cpp +++ b/src/fs_unix.cpp @@ -36,7 +36,7 @@ namespace unix { zsize_t FD::readAt(char* dest, zsize_t size, offset_t offset) const { -#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__HAIKU__) +#if defined(__APPLE__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__HAIKU__) # define PREAD pread #else # define PREAD pread64