summaryrefslogtreecommitdiff
path: root/mail/postfix/patches/patch-ag
blob: 0d6139afc92dba80916fead7a1965fa664423e24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ag,v 1.22 2006/09/16 15:29:36 hira Exp $

--- src/util/sys_defs.h.orig	2006-07-31 13:04:29.000000000 +0000
+++ src/util/sys_defs.h	2006-08-31 19:37:16.000000000 +0000
@@ -28,6 +28,7 @@
     || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
     || defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
     || defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \
+    || defined(NETBSD4) \
     || defined(EKKOBSD1)
 #define SUPPORTED
 #include <sys/types.h>
@@ -41,7 +42,9 @@
 #define DEF_MAILBOX_LOCK "flock"
 #define HAS_SUN_LEN
 #define HAS_FSYNC
+#ifndef HAS_DB
 #define HAS_DB
+#endif
 #define HAS_SA_LEN
 #define DEF_DB_TYPE	"hash"
 #if (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104250000)