$NetBSD: patch-ad,v 1.1 2013/11/13 13:27:45 ryoon Exp $ --- mozilla/xpcom/io/nsLocalFileUnix.h.orig 2012-08-25 00:31:35.000000000 +0000 +++ mozilla/xpcom/io/nsLocalFileUnix.h @@ -52,7 +52,7 @@ #endif // so we can statfs on freebsd -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) || ((defined(__DragonFly__) || defined(__NetBSD__)) && !defined(HAVE_STATVFS)) #define HAVE_SYS_STATFS_H #define STATFS statfs #include