提交 11bd53e3 编写于 作者: J Jean-Baptiste Rouault 提交者: Matthias Bolte

Fix compilation error when SASL support is disabled

This patch adds #if HAVE_SASL where needed in libvirtd.h
上级 416814e6
......@@ -38,7 +38,9 @@
# include "logging.h"
# include "threads.h"
# include "network.h"
# include "virnetsaslcontext.h"
# if HAVE_SASL
# include "virnetsaslcontext.h"
# endif
# include "virnetserverprogram.h"
# if WITH_DTRACE
......@@ -70,7 +72,9 @@ struct daemonClientPrivate {
int domainEventCallbackID[VIR_DOMAIN_EVENT_ID_LAST];
# if HAVE_SASL
virNetSASLSessionPtr sasl;
# endif
/* This is only valid if a remote open call has been made on this
* connection, otherwise it will be NULL. Also if remote close is
......@@ -81,7 +85,9 @@ struct daemonClientPrivate {
daemonClientStreamPtr streams;
};
# if HAVE_SASL
extern virNetSASLContextPtr saslCtxt;
# endif
extern virNetServerProgramPtr remoteProgram;
extern virNetServerProgramPtr qemuProgram;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册