summaryrefslogtreecommitdiff
path: root/security/cfs/patches/patch-ag
blob: ff36d464ba7a5354420f3ce2e905041179baf54c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ag,v 1.3 2005/09/08 22:37:54 abs Exp $

--- cattach.c.orig	2004-07-25 21:55:56.000000000 +1000
+++ cattach.c
@@ -81,8 +81,12 @@ main(argc,argv)
 	struct fs_data sfb;
 #define f_blocks  fd_req.btot
 #else
+#if defined(__NetBSD_Version__) && __NetBSD_Version__ >= 299000900
+	struct statvfs sfb;
+#else
 	struct statfs sfb;
 #endif
+#endif
 	char *flg;
 	int ciph;
 	FILE *fp;