From 8fad24ee7ff39ae4b7087c4b0df2c42f08163d51 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Mon, 1 Apr 2002 17:54:00 +0000 Subject: simple fix for DB3 header inclusion in Mac OS X, by Max Horn 2002-04-01 Rodrigo Moya * pcs/cal-backend-db.c: simple fix for DB3 header inclusion in Mac OS X, by Max Horn svn path=/trunk/; revision=16309 --- calendar/ChangeLog | 5 +++++ calendar/pcs/cal-backend-db.c | 4 ++++ 2 files changed, 9 insertions(+) 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 + + * pcs/cal-backend-db.c: simple fix for DB3 header inclusion in + Mac OS X, by Max Horn + 2002-03-31 JP Rosevear * 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 #include "cal-util/cal-recur.h" #include "cal-backend-db.h" +#ifdef HAVE_DB3_DB_H +#include +#else #include +#endif #if DB_VERSION_MAJOR < 3 # error "You need libdb3 to compile the DB backend" #endif -- cgit