blob: 231795ed0426644a66cff8f3f68c8b2c53c6fa9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-ag,v 1.2 2004/08/02 17:09:06 tv 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__ >= 200050000
+ struct statvfs sfb;
+#else
struct statfs sfb;
#endif
+#endif
char *flg;
int ciph;
FILE *fp;
|