diff --git a/src/xen/xen_driver.c b/src/xen/xen_driver.c index 5ab169dbb9..b6dcf8d08d 100644 --- a/src/xen/xen_driver.c +++ b/src/xen/xen_driver.c @@ -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__, \