# 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
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
daemonClientStreamPtr streams;
};
+# if HAVE_SASL
extern virNetSASLContextPtr saslCtxt;
+# endif
extern virNetServerProgramPtr remoteProgram;
extern virNetServerProgramPtr qemuProgram;