From 541bde605e8a1158411436c4f7fdc314dfdbff23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Baumbach?= Date: Wed, 17 Oct 2012 16:54:33 +0200 Subject: [PATCH] s3:ctdb library: fix the build against older ctdb versions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit by checking if we have the ctdb_protocol.h and including ctdb_private.h otherwise. Signed-off-by: Björn Baumbach Reviewed-by: Michael Adam --- source3/lib/ctdb_conn.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source3/lib/ctdb_conn.h b/source3/lib/ctdb_conn.h index 92295365e34..0d648c78b8c 100644 --- a/source3/lib/ctdb_conn.h +++ b/source3/lib/ctdb_conn.h @@ -23,7 +23,12 @@ #ifdef CLUSTER_SUPPORT #include + +#ifdef HAVE_CTDB_PROTOCOL_H #include +#else +#include +#endif #else /* CLUSTER_SUPPORT */ -- 2.11.4.GIT