From 8632d8cd049e1868f5a957788886aca418642a72 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 21 Nov 2004 16:50:24 +0000 Subject: [PATCH] BDB 4.3 compatibility - errcall prototype --- servers/slapd/back-ldbm/ldbm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/servers/slapd/back-ldbm/ldbm.c b/servers/slapd/back-ldbm/ldbm.c index 222f7cf733..5186567aa5 100644 --- a/servers/slapd/back-ldbm/ldbm.c +++ b/servers/slapd/back-ldbm/ldbm.c @@ -134,7 +134,11 @@ ldbm_malloc( size_t size ) #endif static void +#if DB_VERSION_X < 0x040300 ldbm_db_errcall( const char *prefix, char *message ) +#else +ldbm_db_errcall( const DB_ENV *env, const char *prefix, char *message ) +#endif { #ifdef LDAP_SYSLOG syslog( LOG_INFO, "ldbm: %s %s", prefix, message ); -- 2.39.5