summaryrefslogtreecommitdiff
path: root/net/rdist6/patches/patch-ae
blob: 94f094dbd19471b8181e9edfea782026897f6c83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ae,v 1.5 2005/09/03 21:21:57 abs Exp $

--- config/os-netbsd.h.orig	2001-03-12 13:16:18.000000000 -0500
+++ config/os-netbsd.h	2004-05-30 22:01:15.000000000 -0400
@@ -45,6 +45,7 @@
  * Things we need
  */
 #define NEED_RE_COMP_H
+#define NEED_SETPROGNAME
 
 /*
  * Set process args to messages that show up when running ps(1)
@@ -86,7 +87,11 @@
 /*
  * Select the type of statfs() system call (if any).
  */
+#if __NetBSD_Version__ < 299000900
 #define STATFS_TYPE	STATFS_44BSD
+#else
+#define STATFS_TYPE	STATFS_SVR4
+#endif
 
 /*
  * Use f_fstypename in struct statfs.