summaryrefslogtreecommitdiff
path: root/www/seamonkey/patches/patch-ad
blob: 467697b51a0269c5cd6c643b1fd770f1cc6ecbf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.5 2012/03/10 03:26:04 ryoon Exp $

--- mozilla/xpcom/io/nsLocalFileUnix.h.orig	2012-02-16 14:09:41.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>