summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-12-12 12:17:35 +0100
committerGünther Deschner <gd@samba.org>2011-12-12 17:42:29 +0100
commitcf57fd44d7b800f09dac1485812b98d881ee48d6 (patch)
tree9786119530d8a89485196ad51a8948ba7d57bc35 /source3/lib
parent763fe4216b600f4b1e1db61dbd7e3b7579790970 (diff)
downloadsamba-cf57fd44d7b800f09dac1485812b98d881ee48d6.tar.gz
samba-cf57fd44d7b800f09dac1485812b98d881ee48d6.tar.bz2
samba-cf57fd44d7b800f09dac1485812b98d881ee48d6.zip
s3-ctdb: fix the build w/o HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL
Volker, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Dec 12 17:42:29 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/lib')
-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
*/