summaryrefslogtreecommitdiff
path: root/net/rdist6/patches/patch-ak
blob: 07ece5c3371606eadc7cc92c5c1af849af408042 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ak,v 1.1 2004/05/31 02:18:44 kim Exp $

--- include/filesys.h.orig	1999-08-04 11:57:31.000000000 -0400
+++ include/filesys.h	2004-05-30 22:13:44.000000000 -0400
@@ -104,10 +104,12 @@
 #	include <sys/statfs.h>
 	typedef struct statfs		statfs_t;
 #	define f_bavail			f_bfree
-#  elif defined(SVR4)
+#  elif defined(SVR4) || STATFS_TYPE == STATFS_SVR4
 #	include <sys/statvfs.h>
 	typedef struct statvfs		statfs_t;
 #	define statfs(mp,sb)		statvfs(mp,sb)
+#	define getfsstat(buf,sz,fl)	getvfsstat(buf,sz,fl)
+#	define f_flags			f_flag
 #  elif STATFS_TYPE == STATFS_44BSD || STATFS_TYPE == STATFS_OSF1
 	typedef struct statfs		statfs_t;
 #  else