Added
Link Here
|
1 |
--- ./daemon/libvirtd.h |
2 |
+++ ./daemon/libvirtd.h |
3 |
@@ -38,7 +38,9 @@ |
4 |
# include "logging.h" |
5 |
# include "threads.h" |
6 |
# include "network.h" |
7 |
-# include "virnetsaslcontext.h" |
8 |
+# if HAVE_SASL |
9 |
+# include "virnetsaslcontext.h" |
10 |
+# endif |
11 |
# include "virnetserverprogram.h" |
12 |
|
13 |
# if WITH_DTRACE |
14 |
@@ -70,7 +72,9 @@ struct daemonClientPrivate { |
15 |
|
16 |
int domainEventCallbackID[VIR_DOMAIN_EVENT_ID_LAST]; |
17 |
|
18 |
+# if HAVE_SASL |
19 |
virNetSASLSessionPtr sasl; |
20 |
+# endif |
21 |
|
22 |
/* This is only valid if a remote open call has been made on this |
23 |
* connection, otherwise it will be NULL. Also if remote close is |
24 |
@@ -81,7 +85,9 @@ struct daemonClientPrivate { |
25 |
daemonClientStreamPtr streams; |
26 |
}; |
27 |
|
28 |
+# if HAVE_SASL |
29 |
extern virNetSASLContextPtr saslCtxt; |
30 |
+# endif |
31 |
extern virNetServerProgramPtr remoteProgram; |
32 |
extern virNetServerProgramPtr qemuProgram; |