summaryrefslogtreecommitdiff
path: root/net/rdist6/patches/patch-ae
blob: a19b3912483cc2f4caf4db8941c28969973cc12b (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.4 2004/05/31 02:18:44 kim 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__ < 200060000
 #define STATFS_TYPE	STATFS_44BSD
+#else
+#define STATFS_TYPE	STATFS_SVR4
+#endif
 
 /*
  * Use f_fstypename in struct statfs.