summaryrefslogtreecommitdiff
path: root/mail/postfix/patches/patch-ag
blob: ab6b23780199e246484388f9fa0467608168045b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ag,v 1.16 2005/09/06 08:10:58 abs Exp $

--- src/util/sys_defs.h.orig	2005-02-04 02:07:44.000000000 +0200
+++ src/util/sys_defs.h	2005-04-04 20:55:05.000000000 +0300
@@ -157,5 +157,11 @@
 #define GETTIMEOFDAY(t) gettimeofday(t,(struct timezone *) 0)
+#define RESOLVE_H_NEEDS_NAMESER8_COMPAT_H
 #define ROOT_PATH	"/bin:/usr/bin:/sbin:/usr/sbin"
+#if (defined(__NetBSD__) && __NetBSD_Version__ >= 299000900) /* NetBSD 2.99.9 */
+#define USE_STATVFS
+#define STATVFS_IN_SYS_STATVFS_H
+#else
 #define USE_STATFS
 #define STATFS_IN_SYS_MOUNT_H
+#endif
 #define HAS_POSIX_REGEXP