diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/ldb/ldb_tdb/ldb_tdb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/ldb/ldb_tdb/ldb_tdb.c b/source3/lib/ldb/ldb_tdb/ldb_tdb.c index 6bebb6df1c..e3bc069d9d 100644 --- a/source3/lib/ldb/ldb_tdb/ldb_tdb.c +++ b/source3/lib/ldb/ldb_tdb/ldb_tdb.c @@ -59,7 +59,9 @@ static int ltdb_err_map(enum TDB_ERROR tdb_code) case TDB_ERR_CORRUPT: case TDB_ERR_OOM: case TDB_ERR_EINVAL: +#if HAVE_TDB_ERR_NESTING case TDB_ERR_NESTING: +#endif return LDB_ERR_OPERATIONS_ERROR; case TDB_ERR_IO: return LDB_ERR_PROTOCOL_ERROR; |