summaryrefslogtreecommitdiff
path: root/misc/gnuls/patches/patch-ac
blob: d89c97e7f65a882baf60e8b1ed36af0cf8aaf130 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ac,v 1.1 2004/05/19 16:55:25 jmmv Exp $

--- lib/mountlist.c.orig	2004-01-26 09:58:12.000000000 +0100
+++ lib/mountlist.c	2004-05-18 20:56:57.000000000 +0200
@@ -173,6 +173,11 @@
 
 #if MOUNTED_GETMNTINFO
 
+# if defined(__NetBSD__) && (__NetBSD_Version__ > 200030000)
+# define statfs				statvfs
+# define HAVE_F_FSTYPENAME_IN_STATFS	1
+# endif
+
 # if ! HAVE_F_FSTYPENAME_IN_STATFS
 static char *
 fstype_to_string (short t)