From: Howard Chu Date: Sun, 21 Nov 2004 16:50:24 +0000 (+0000) Subject: BDB 4.3 compatibility - errcall prototype X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~255 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8632d8cd049e1868f5a957788886aca418642a72;p=openldap BDB 4.3 compatibility - errcall prototype --- 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 );