14 lines
441 B
Plaintext
14 lines
441 B
Plaintext
$NetBSD: patch-ad,v 1.1.1.1 2012/03/15 08:58:28 ryoon Exp $
|
|
|
|
--- xpcom/io/nsLocalFileUnix.h.orig 2012-03-09 22:20:38.000000000 +0000
|
|
+++ xpcom/io/nsLocalFileUnix.h
|
|
@@ -86,7 +86,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 <sys/param.h>
|