aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/pcs/cal-backend-db.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 33ee88d2fc..686fc28792 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-01 Rodrigo Moya <rodrigo@ximian.com>
+
+ * pcs/cal-backend-db.c: simple fix for DB3 header inclusion in
+ Mac OS X, by Max Horn <max@quendi.de>
+
2002-03-31 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.c (clean_up): free the my_address member
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