xen: Fix inside_daemon beeing unused when libvirtd is disabled

The defined __sun is there, because inside_daemon is used in xenUnifiedOpen
if __sun is defined.
This commit is contained in:
Matthias Bolte 2010-04-23 18:12:09 +02:00
parent 258923f2eb
commit 87506c2bcf

View File

@ -70,7 +70,9 @@ static struct xenUnifiedDriver const * const drivers[XEN_UNIFIED_NR_DRIVERS] = {
#endif
};
#if defined WITH_LIBVIRTD || defined __sun
static int inside_daemon;
#endif
#define xenUnifiedError(code, ...) \
virReportErrorHelper(NULL, VIR_FROM_XEN, code, __FILE__, \