$NetBSD: patch-ai,v 1.3 2016/10/09 03:41:56 ryoon Exp $

--- lib/file/fileIOPosix.c.orig	2016-02-16 20:06:45.000000000 +0000
+++ lib/file/fileIOPosix.c
@@ -66,7 +66,7 @@
 #include <dlfcn.h>
 #include <sys/xattr.h>
 #else
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
 #include <sys/param.h>
 #include <sys/mount.h>
 #else
