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[] = {
_backend_static,
+#ifdef HAVE_DB_API
_backend_db,
+#endif
Hi,
I've cloned the opensmtpd git repository and after checking out the
portable branch, I've got a build error (Debian system):
../../openbsd-compat/err.h:25:19: note: in definition of macro b
fprintf(stderr, format \n, ## args)
^
../../openbsd-compat/err.h:16:3: note: in