aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/cal-backend-db.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/pcs/cal-backend-db.c')
-rw-r--r--calendar/pcs/cal-backend-db.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/pcs/cal-backend-db.c b/calendar/pcs/cal-backend-db.c
index 59f49701ec..0f1486dff3 100644
--- a/calendar/pcs/cal-backend-db.c
+++ b/calendar/pcs/cal-backend-db.c
@@ -22,7 +22,11 @@
#include <gtk/gtksignal.h>
#include "cal-util/cal-recur.h"
#include "cal-backend-db.h"
+#ifdef HAVE_DB3_DB_H
+#include <db3/db.h>
+#else
#include <db.h>
+#endif
#if DB_VERSION_MAJOR < 3
# error "You need libdb3 to compile the DB backend"
#endif