summaryrefslogtreecommitdiff
path: root/net/netatalk/patches/patch-ag
blob: 8d1178829a3f324a36e17555aabbf68303c61bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ag,v 1.6 2005/09/06 07:59:32 abs 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__ >= 299000900))
 #include <sys/statvfs.h>
 #define statfs statvfs
 #else /* HAVE_SYS_STATVFS || __svr4__ */