Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
Pushed as trivial build fix
src/remote/remote_driver.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c
index 3973b37d5f..95437b4365 100644
--- a/src/remote/remote_driver.c
+++ b/src/remote/remote_driver.c
@@ -712,6 +712,7 @@ remoteConnectSupportsFeatureUnlocked(virConnectPtr conn,
}
+#ifndef WIN32
static char *remoteGetUNIXSocketNonRoot(void)
{
char *sockname = NULL;
@@ -729,6 +730,7 @@ static char *remoteGetUNIXSocketNonRoot(void)
VIR_DEBUG("Chosen UNIX sockname %s", sockname);
return sockname;
}
+#endif /* WIN32 */
static char *remoteGetUNIXSocketRoot(unsigned int flags)
{
--
2.14.3