diff options
-rw-r--r-- | ark/arkutils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ark/arkutils.cpp b/ark/arkutils.cpp index 24411e8..72545f5 100644 --- a/ark/arkutils.cpp +++ b/ark/arkutils.cpp @@ -48,11 +48,11 @@ #endif // for statfs: -#ifdef BSD4_4 +#if defined(BSD4_4) && !defined(__NetBSD__) #include <sys/mount.h> #elif defined(__linux__) #include <sys/vfs.h> -#elif defined(__sun) +#elif defined(__sun) || defined(__NetBSD__) #include <sys/statvfs.h> #define STATFS statvfs #elif defined(_AIX) |