summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/ctdbd_conn.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index 940d477da1..9d4af18ac5 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -1117,6 +1117,8 @@ fail:
return false;
}
+#ifdef HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL
+
bool ctdb_serverids_exist(struct ctdbd_connection *conn,
const struct server_id *pids, unsigned num_pids,
bool *results)
@@ -1240,6 +1242,8 @@ fail:
return result;
}
+#endif /* HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL */
+
/*
* Get a db path
*/