summaryrefslogtreecommitdiff
path: root/mail/postfix/patches/patch-ag
blob: e2c6243ff45d5d7402390edf5431513d8abd4aba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ag,v 1.12 2004/06/21 16:13:24 martti Exp $

--- src/util/sys_defs.h.orig	2004-06-14 21:13:40.000000000 +0300
+++ src/util/sys_defs.h	2004-06-20 11:40:54.000000000 +0300
@@ -127,8 +127,13 @@
 #define ALIAS_DB_MAP	"hash:/etc/aliases"
 #define GETTIMEOFDAY(t) gettimeofday(t,(struct timezone *) 0)
 #define ROOT_PATH	"/bin:/usr/bin:/sbin:/usr/sbin"
+#if (defined(__NetBSD__) && __NetBSD_Version__ >= 200040000) /* NetBSD 2.0D */
+#define USE_STATVFS
+#define STATVFS_IN_SYS_STATVFS_H
+#else
 #define USE_STATFS
 #define STATFS_IN_SYS_MOUNT_H
+#endif
 #define HAS_POSIX_REGEXP
 #define NORETURN	void
 #define PRINTFLIKE(x,y)