aboutsummaryrefslogtreecommitdiff
path: root/mfd/mu_dbm.c
diff options
context:
space:
mode:
Diffstat (limited to 'mfd/mu_dbm.c')
-rw-r--r--mfd/mu_dbm.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/mfd/mu_dbm.c b/mfd/mu_dbm.c
index 8104d13b..4b7d7547 100644
--- a/mfd/mu_dbm.c
+++ b/mfd/mu_dbm.c
@@ -358,7 +358,13 @@ make_lockfile (char *name, int lktype, int *pfd, char **plockname)
#endif
static void
-mu_dbm_errcall_fcn (const char *errpfx, char *msg)
+mu_dbm_errcall_fcn
+#if DB_VERSION_MAJOR == 3
+ (const char *errpfx, char *msg)
+#else
+ (const DB_ENV *env_unused,
+ const char *errpfx, const char *msg)
+#endif
{
if (errpfx)
mu_error ("%s: %s: %s", errpfx, _("Berkeley DB error"), msg);

Return to:

Send suggestions and report system problems to the System administrator.