diff options
-rw-r--r-- | sys/nnpfs/nnpfs_locl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nnpfs/nnpfs_locl.h b/sys/nnpfs/nnpfs_locl.h index 8107315235a..0306195a217 100644 --- a/sys/nnpfs/nnpfs_locl.h +++ b/sys/nnpfs/nnpfs_locl.h @@ -372,7 +372,7 @@ struct nnpfs_setgroups_args{ #define nnpfs_vfs_object_create(vp,proc,ucred) vfs_object_create(vp,proc,ucred) #endif -#if defined(UVM) || (defined(__NetBSD__) && __NetBSD_Version__ >= 105280000) +#if defined(UVM) || (defined(__NetBSD__) && __NetBSD_Version__ >= 105280000) || defined(__OpenBSD__) #define nnpfs_set_vp_size(vp, sz) uvm_vnp_setsize(vp, sz) #elif HAVE_KERNEL_VNODE_PAGER_SETSIZE #define nnpfs_set_vp_size(vp, sz) vnode_pager_setsize(vp, sz) |