summaryrefslogtreecommitdiff
path: root/www/mozilla/patches/patch-bq
blob: b6ebd997f812965fdc5ae38ca2896c9c11ed61d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-bq,v 1.8 2004/06/21 14:14:01 taya Exp $

diff -ru ../Orig/mozilla/xpcom/io/nsLocalFileUnix.h ./xpcom/io/nsLocalFileUnix.h
--- ../Orig/mozilla/xpcom/io/nsLocalFileUnix.h	2004-01-15 15:14:13.000000000 +0900
+++ ./xpcom/io/nsLocalFileUnix.h	2004-06-10 23:07:36.000000000 +0900
@@ -57,7 +57,7 @@
 #endif
 
 // so we can statfs on freebsd
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || (defined(__NetBSD__) && !defined(HAVE_STATVFS))
     #define HAVE_SYS_STATFS_H
     #define STATFS statfs
     #include <sys/param.h>