summaryrefslogtreecommitdiff
path: root/mail/thunderbird10/patches/patch-ad
blob: 25e9a006c08d3e5af0c7258a5114aac1048ae0ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.1.1.1 2012/03/15 09:45:29 ryoon Exp $

--- mozilla/xpcom/io/nsLocalFileUnix.h.orig	2012-02-16 10:25:33.000000000 +0000
+++ mozilla/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>