diff options
-rw-r--r-- | qpid/cpp/src/qpid/cluster/ClusterPlugin.cpp | 3 | ||||
-rw-r--r-- | qpid/cpp/src/qpid/cluster/Quorum.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/qpid/cpp/src/qpid/cluster/ClusterPlugin.cpp b/qpid/cpp/src/qpid/cluster/ClusterPlugin.cpp index 266e7f00b0..132043f91a 100644 --- a/qpid/cpp/src/qpid/cluster/ClusterPlugin.cpp +++ b/qpid/cpp/src/qpid/cluster/ClusterPlugin.cpp @@ -16,6 +16,7 @@ * */ +#include "config.h" #include "Connection.h" #include "ConnectionCodec.h" #include "ClusterSettings.h" @@ -67,7 +68,7 @@ struct ClusterOptions : public Options { ("cluster-username", optValue(settings.username, ""), "Username for connections between brokers") ("cluster-password", optValue(settings.password, ""), "Password for connections between brokers") ("cluster-mechanism", optValue(settings.mechanism, ""), "Authentication mechanism for connections between brokers") -#if HAVE_LIBCMAN +#if HAVE_LIBCMAN_H ("cluster-cman", optValue(settings.quorum), "Integrate with Cluster Manager (CMAN) cluster.") #endif ("cluster-read-max", optValue(settings.readMax,"N"), diff --git a/qpid/cpp/src/qpid/cluster/Quorum.h b/qpid/cpp/src/qpid/cluster/Quorum.h index f07b58dfa6..ea55c36730 100644 --- a/qpid/cpp/src/qpid/cluster/Quorum.h +++ b/qpid/cpp/src/qpid/cluster/Quorum.h @@ -23,7 +23,7 @@ */ #include "config.h" -#if HAVE_LIBCMAN +#if HAVE_LIBCMAN_H #include "Quorum_cman.h" #else #include "Quorum_null.h" |