2a33bd4fd6
This is the new 2.1.x series, please see www.postfix.org for complete list of changes since 2.0.20.
18 lines
636 B
Text
18 lines
636 B
Text
$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)
|