summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-bq
blob: d5724b6e9fd9153c4d8282a9cbd9d9ede25eb41f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-bq,v 1.6 2005/12/10 13:47:22 taya Exp $

diff -ruN ../Orig/mozilla/xpcom/io/nsLocalFileUnix.h ./xpcom/io/nsLocalFileUnix.h
--- ../Orig/mozilla/xpcom/io/nsLocalFileUnix.h	2004-04-18 23:18:14.000000000 +0900
+++ ./xpcom/io/nsLocalFileUnix.h	2005-12-04 19:18:04.000000000 +0900
@@ -73,7 +73,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>