aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2019-02-19 09:44:42 +0100
committerGilles Chehade <gilles@poolp.org>2019-02-19 09:44:42 +0100
commit5f122d33cf56dad34aebeda10769e1c73c76dbe9 (patch)
treefa3f8ff3a037813e911791b9b424577a75ea14f6
parentremove duplicate config.c, reported by Bernard Spil (diff)
downloadOpenSMTPD-5f122d33cf56dad34aebeda10769e1c73c76dbe9.tar.xz
OpenSMTPD-5f122d33cf56dad34aebeda10769e1c73c76dbe9.zip
table_backend_db is conditional
-rw-r--r--smtpd/table.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/smtpd/table.c b/smtpd/table.c
index c18256a3..12f2e0e6 100644
--- a/smtpd/table.c
+++ b/smtpd/table.c
@@ -63,7 +63,9 @@ static unsigned int last_table_id = 0;
static struct table_backend *backends[] = {
&table_backend_static,
+#ifdef HAVE_DB_API
&table_backend_db,
+#endif
&table_backend_getpwnam,
&table_backend_proc,
NULL