summaryrefslogtreecommitdiff
path: root/mail/postfix-current/patches/patch-av
blob: 5b530ed811b83dbc2935aec318ff989020c0d6fb (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
$NetBSD: patch-av,v 1.5 2009/05/13 10:34:06 martti Exp $

Support for sqlite.

--- src/global/mail_dict.c.orig	2008-01-08 22:07:47.000000000 +0100
+++ src/global/mail_dict.c
@@ -36,6 +36,7 @@
 #include <dict_ldap.h>
 #include <dict_mysql.h>
 #include <dict_pgsql.h>
+#include <dict_sqlite.h>
 #include <mail_dict.h>
 
 typedef struct {
@@ -54,6 +55,9 @@ static const DICT_OPEN_INFO dict_open_in
 #ifdef HAS_PGSQL
     DICT_TYPE_PGSQL, dict_pgsql_open,
 #endif
+#ifdef HAS_SQLITE
+    DICT_TYPE_SQLITE, dict_sqlite_open,
+#endif
     0,
 };