BDB 4.3 compatibility - errcall prototype

This commit is contained in:
Howard Chu 2004-11-21 16:50:24 +00:00
parent 70d3e8f102
commit 8632d8cd04

View File

@ -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 );