blob: c21b99afa4ea6517e1f052fe42184632f979ad65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ag,v 1.5 2004/11/03 20:53:15 markd Exp $
--- etc/afpd/unix.h.orig 2004-05-11 06:40:33.000000000 +1200
+++ etc/afpd/unix.h
@@ -32,7 +32,7 @@ typedef int mode_t;
#define f_frsize f_fsize
#else /* TRU64 */
/* temp fix, was: defined(HAVE_SYS_STATVFS) || defined(__svr4__) */
-#if defined(__svr4__)
+#if defined(__svr4__) || (defined(__NetBSD__) && (__NetBSD_Version__ >= 200040000))
#include <sys/statvfs.h>
#define statfs statvfs
#else /* HAVE_SYS_STATVFS || __svr4__ */
|