blob: 913dda4c288991950b017e9f6d177c3bb1daa273 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ac,v 1.2 2005/09/08 22:37:54 abs 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__ >= 299000900)
+# define statfs statvfs
+# define HAVE_F_FSTYPENAME_IN_STATFS 1
+# endif
+
# if ! HAVE_F_FSTYPENAME_IN_STATFS
static char *
fstype_to_string (short t)
|