summaryrefslogtreecommitdiff
path: root/lang/mono/patches/patch-am
blob: 2e8b60c568de7792b90ce9b9538df4e22cbd411f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-am,v 1.4 2011/06/10 04:11:29 kefren Exp $
--- mono/io-layer/io.c.orig	2011-06-10 05:45:49.000000000 +0300
+++ mono/io-layer/io.c	2011-06-10 05:50:38.000000000 +0300
@@ -3589,7 +3589,7 @@ guint32 GetTempPath (guint32 len, gunich
 	return(ret);
 }
 
-#ifdef HAVE_GETFSSTAT
+#if (defined(HAVE_GETFSSTAT) && defined(HAVE_SYS_STATFS_H))
 /* Darwin has getfsstat */
 gint32 GetLogicalDriveStrings (guint32 len, gunichar2 *buf)
 {