summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/dbwrap/dbwrap_ctdb.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c
index 85ae5c1c6e..ca43dc1b58 100644
--- a/source3/lib/dbwrap/dbwrap_ctdb.c
+++ b/source3/lib/dbwrap/dbwrap_ctdb.c
@@ -22,6 +22,8 @@
#include "system/filesys.h"
#include "lib/util/tdb_wrap.h"
#include "util_tdb.h"
+#include "dbwrap/dbwrap_rbt.h"
+
#ifdef CLUSTER_SUPPORT
/*
@@ -1313,7 +1315,8 @@ static int db_ctdb_traverse(struct db_context *db,
}
status = dbwrap_traverse(newkeys,
traverse_persistent_callback_dbwrap,
- &state);
+ &state,
+ NULL);
ret = NT_STATUS_IS_OK(status) ? 0 : -1;
talloc_free(newkeys);
}