$NetBSD: patch-ah,v 1.2 2008/11/10 14:56:16 adam Exp $ --- src/dirpane.c.orig 2008-07-07 20:09:22.000000000 +0200 +++ src/dirpane.c @@ -1393,7 +1393,7 @@ static void update_fs_info(DirPane *dp) { gint old_errno = errno; -#if defined HAVE_STRUCT_STATVFS +#if defined HAVE_STRUCT_STATVFS && !defined(__DragonFly__) dp->dir.fs.valid = statvfs(dp->dir.path, &dp->dir.fs.stat) == 0; #else dp->dir.fs.valid = statfs(dp->dir.path, &dp->dir.fs.stat) == 0;