#include "path_max.h"
#include "macros.h"
#include "blob.h"
-#include "hintsdb.h"
+#ifndef MACRO_PREDEF
+# include "hintsdb.h"
+#endif
#include "hintsdb_structs.h"
#include "structs.h"
#include "blob.h"
#include "hash.h"
#include "globals.h"
#include "functions.h"
-#include "dbfunctions.h"
+#ifndef MACRO_PREDEF
+# include "dbfunctions.h"
+#endif
#include "osfunctions.h"
#ifdef EXPERIMENTAL_BRIGHTMAIL
static inline void
dbfn_bdb_error_callback(const DB_ENV * dbenv, const char * pfx, const char * msg)
{
-#ifndef MACRO_PREDEF
log_write(0, LOG_MAIN, "Berkeley DB error: %s", msg);
-#endif
}