summaryrefslogtreecommitdiff
path: root/mail/postfix/patches/patch-av
blob: 1b25124a499e98d17aa48ff848867d2ebcb9182b (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.6 2008/10/16 09:40:20 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,
 };