summaryrefslogtreecommitdiff
path: root/net/sharity-light/patches/patch-ab
blob: 22ab908355c0717c79ff87ee383d6c84b1b027e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ab,v 1.2 2004/09/16 17:57:02 minskim Exp $

--- nfs/syscalls.c.orig	1998-06-30 07:24:56.000000000 -0500
+++ nfs/syscalls.c
@@ -19,6 +19,13 @@
 #include <arpa/inet.h>
 #include "my_defines.h"
 
+#ifdef __NetBSD__
+#include <nfs/nfsmount.h>
+#if __NetBSD_Version__ >= 200040000
+#define statfs statvfs
+#endif
+#endif
+
 /* --------------------------- general constants --------------------------- */
 
 #define NFS_TIMEOUT_SECONDS		10	/* nfs timeout in seconds */