summaryrefslogtreecommitdiff
path: root/mail/thunderbird/patches/patch-bq
blob: 2764d16688d527f9d4195c76de26ce06ae7635db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-bq,v 1.2 2004/04/26 13:56:09 taya Exp $

diff -ru ../Orig/mozilla/xpcom/io/nsLocalFileUnix.h ./xpcom/io/nsLocalFileUnix.h
--- ../Orig/mozilla/xpcom/io/nsLocalFileUnix.h	2003-07-19 07:14:16.000000000 +0900
+++ ./xpcom/io/nsLocalFileUnix.h	2004-04-23 15:01:23.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>