blob: 2b5f072dd72628113d11f7129b0f0a14c2c2720c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-aa,v 1.1.1.1 2006/04/12 21:41:58 wiz Exp $
--- lib/write.cpp.orig 2006-01-19 21:05:11.000000000 +0000
+++ lib/write.cpp
@@ -38,6 +38,9 @@
# if defined(__APPLE__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
# include <sys/param.h>
# include <sys/mount.h>
+# if (defined(__NetBSD__) && __NetBSD_Version__ >= 299000900)
+# define statfs statvfs
+# endif
# else
# include <sys/vfs.h>
# endif
|