--- courier-imap-2.1.1/bdbobj/bdbobj.c 2003-08-30 00:20:54.000000000 +1200 +++ courier-imap-2.1.1_hack/bdbobj/bdbobj.c 2003-08-30 15:49:47.000000000 +1200 @@ -112,13 +112,13 @@ #else obj->dbf=0; -#define DB_40 0 +#define DB_41 0 #if DB_VERSION_MAJOR == 4 -#if DB_VERSION_MINOR == 0 +#if DB_VERSION_MINOR == 1 -#undef DB_40 -#define DB_40 1 +#undef DB_41 +#define DB_41 1 #endif #endif @@ -127,10 +127,10 @@ { if ( (*obj->dbf->open)(obj->dbf, -#if DB_40 - -#else +#if DB_41 NULL, +#else + #endif filename, NULL,