blob: 797fc5a2354bf60fec60244cf76900eb18353684 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
$NetBSD: patch-ag,v 1.37 2016/11/04 17:10:10 sevan Exp $
* Add support for NetBSD 7.
* Only define HAS_DB if it hasn't been defined.
* Add support for FreeBSD 11 and 12.
--- src/util/sys_defs.h.orig 2016-05-15 16:39:11.000000000 +0000
+++ src/util/sys_defs.h
@@ -26,6 +26,7 @@
#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
|| defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \
|| defined(FREEBSD8) || defined(FREEBSD9) || defined(FREEBSD10) \
+ || defined(FREEBSD11) || defined(FREEBSD12) \
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|| defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
|| defined(OPENBSD5) || defined(OPENBSD6) \
@@ -45,7 +46,9 @@
#define DEF_MAILBOX_LOCK "flock, dotlock"
#define HAS_SUN_LEN
#define HAS_FSYNC
+#ifndef HAS_DB
#define HAS_DB
+#endif
#define HAS_SA_LEN
#define NATIVE_DB_TYPE "hash"
#if (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104250000)
@@ -1268,6 +1271,8 @@ extern int h_errno;
#define DEF_SMTP_CACHE_DEMAND 0
#endif
+#define RECEIVED_ENVELOPE_FROM
+
/*
* We're not going to try to guess like configure does.
*/
|