mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
Fix compilation error when SASL support is disabled
This patch adds #if HAVE_SASL where needed in libvirtd.h
This commit is contained in:
parent
416814e66a
commit
11bd53e322
@ -38,7 +38,9 @@
|
|||||||
# include "logging.h"
|
# include "logging.h"
|
||||||
# include "threads.h"
|
# include "threads.h"
|
||||||
# include "network.h"
|
# include "network.h"
|
||||||
# include "virnetsaslcontext.h"
|
# if HAVE_SASL
|
||||||
|
# include "virnetsaslcontext.h"
|
||||||
|
# endif
|
||||||
# include "virnetserverprogram.h"
|
# include "virnetserverprogram.h"
|
||||||
|
|
||||||
# if WITH_DTRACE
|
# if WITH_DTRACE
|
||||||
@ -70,7 +72,9 @@ struct daemonClientPrivate {
|
|||||||
|
|
||||||
int domainEventCallbackID[VIR_DOMAIN_EVENT_ID_LAST];
|
int domainEventCallbackID[VIR_DOMAIN_EVENT_ID_LAST];
|
||||||
|
|
||||||
|
# if HAVE_SASL
|
||||||
virNetSASLSessionPtr sasl;
|
virNetSASLSessionPtr sasl;
|
||||||
|
# endif
|
||||||
|
|
||||||
/* This is only valid if a remote open call has been made on this
|
/* 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
|
* connection, otherwise it will be NULL. Also if remote close is
|
||||||
@ -81,7 +85,9 @@ struct daemonClientPrivate {
|
|||||||
daemonClientStreamPtr streams;
|
daemonClientStreamPtr streams;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# if HAVE_SASL
|
||||||
extern virNetSASLContextPtr saslCtxt;
|
extern virNetSASLContextPtr saslCtxt;
|
||||||
|
# endif
|
||||||
extern virNetServerProgramPtr remoteProgram;
|
extern virNetServerProgramPtr remoteProgram;
|
||||||
extern virNetServerProgramPtr qemuProgram;
|
extern virNetServerProgramPtr qemuProgram;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user