summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-bq
blob: bcaae295c685b6c805d6d4238998db13ddb4fd64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-bq,v 1.5 2005/10/12 16:39:24 joerg Exp $

--- xpcom/io/nsLocalFileUnix.h.orig	2004-01-15 06:14:13.000000000 +0000
+++ xpcom/io/nsLocalFileUnix.h
@@ -57,7 +57,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>