diff options
author | Björn Baumbach <bb@sernet.de> | 2012-10-30 16:45:30 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-11-02 13:47:35 +0100 |
commit | 5f1b5404b8e642dd18b55e37793068216f668242 (patch) | |
tree | b7a5aaec072a228e81a128f0a7c93095062514d5 /source3 | |
parent | 541bde605e8a1158411436c4f7fdc314dfdbff23 (diff) | |
download | samba-5f1b5404b8e642dd18b55e37793068216f668242.tar.gz samba-5f1b5404b8e642dd18b55e37793068216f668242.tar.bz2 samba-5f1b5404b8e642dd18b55e37793068216f668242.zip |
s3-torture:test_ctdbconn: fix the build against older ctdb versions
by checking if we have the ctdb_protocol.h and including ctdb_private.h otherwise.
Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/torture/test_ctdbconn.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/torture/test_ctdbconn.c b/source3/torture/test_ctdbconn.c index 539e224899..d01835250b 100644 --- a/source3/torture/test_ctdbconn.c +++ b/source3/torture/test_ctdbconn.c @@ -25,7 +25,13 @@ #include "ctdb_conn.h" #include "lib/util/tevent_unix.h" #include "tdb.h" + +#ifdef HAVE_CTDB_PROTOCOL_H #include "ctdb_protocol.h" +#else +#include "ctdb_private.h" +#endif + #include "messages.h" struct ctdb_conn_test_state { |