git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf269d6
)
s3:ctdb library: fix the build against older ctdb versions
author
Björn Baumbach
<bb@sernet.de>
Wed, 17 Oct 2012 14:54:33 +0000
(16:54 +0200)
committer
Volker Lendecke
<vl@samba.org>
Fri, 2 Nov 2012 12:47:34 +0000
(13:47 +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/lib/ctdb_conn.h
patch
|
blob
|
history
diff --git
a/source3/lib/ctdb_conn.h
b/source3/lib/ctdb_conn.h
index 92295365e349c5f2f44503f808a4efd0a2d92d81..0d648c78b8c5b756c29678d07780a6c0fb3ad2b1 100644
(file)
--- a/
source3/lib/ctdb_conn.h
+++ b/
source3/lib/ctdb_conn.h
@@
-23,7
+23,12
@@
#ifdef CLUSTER_SUPPORT
#include <tdb.h>
+
+#ifdef HAVE_CTDB_PROTOCOL_H
#include <ctdb_protocol.h>
+#else
+#include <ctdb_private.h>
+#endif
#else /* CLUSTER_SUPPORT */