git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20484c3
)
s3-torture:test_ctdbconn: fix the build against older ctdb versions
author
Björn Baumbach
<bb@sernet.de>
Tue, 30 Oct 2012 15:45:30 +0000
(16:45 +0100)
committer
Michael Adam
<obnox@samba.org>
Thu, 1 Nov 2012 09:22:15 +0000
(10:22 +0100)
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>
source3/torture/test_ctdbconn.c
patch
|
blob
|
history
diff --git
a/source3/torture/test_ctdbconn.c
b/source3/torture/test_ctdbconn.c
index 539e224899d7969fbe6dc6e84aa80975f221c92d..d01835250b383690ac3b929fa10809bf1a1353e2 100644
(file)
--- 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 {