From 55191cbbbb849d82654bc70febd463c1ef9acef7 Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Sat, 6 Apr 2019 18:52:06 +0900 Subject: Fix to build on NetBSD missing statfs from BSD44 feature Signed-off-by: OBATA Akio (cherry picked from commit 630abb9f24f8d81654d5fb0830a28755f2e148a8) --- ark/arkutils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ark') 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 #elif defined(__linux__) #include -#elif defined(__sun) +#elif defined(__sun) || defined(__NetBSD__) #include #define STATFS statvfs #elif defined(_AIX) -- cgit v1.2.1