summaryrefslogtreecommitdiff
path: root/mail/postfix-current/patches/patch-ag
blob: d49a39f69a107e77b5fd7356d4c9792a33b3daa4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ag,v 1.5 2004/07/02 08:03:04 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)