summaryrefslogtreecommitdiff
path: root/time/sunbird/patches/patch-bq
blob: 87b1db6fb7edc90d3b1d94eeec55502201ab2c3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-bq,v 1.1.1.1 2006/02/05 21:56:26 ghen Exp $

--- xpcom/io/nsLocalFileUnix.h.orig	2006-02-02 16:57:57.000000000 +0100
+++ xpcom/io/nsLocalFileUnix.h
@@ -73,7 +73,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>