summaryrefslogtreecommitdiff
path: root/www/seamonkey/patches/patch-ad
blob: 0b0f5a75bc3ecdcaa61fb91bd34fb219f751bf8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.3 2010/03/16 10:59:10 tnn Exp $

--- mozilla/xpcom/io/nsLocalFileUnix.h.orig	2009-06-29 18:15:32.000000000 +0200
+++ mozilla/xpcom/io/nsLocalFileUnix.h
@@ -75,7 +75,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>