From: "Daniel P. Berrange" <berrange(a)redhat.com>
Pushed the following under build-breaker fix rule (Win32)
The libvirt_private.syms file exports virNetlinkEventServiceLocalPid
so there needs to be a no-op stub for Win32 to avoid linker errors
Signed-off-by: Daniel P. Berrange <berrange(a)redhat.com>
---
src/util/virnetlink.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/util/virnetlink.c b/src/util/virnetlink.c
index e316137..9539694 100644
--- a/src/util/virnetlink.c
+++ b/src/util/virnetlink.c
@@ -669,6 +669,12 @@ bool virNetlinkEventServiceIsRunning(void)
return 0;
}
+int virNetlinkEventServiceLocalPid(void)
+{
+ netlinkError(VIR_ERR_INTERNAL_ERROR, "%s", _(unsupported));
+ return -1;
+}
+
/**
* virNetlinkEventAddClient: register a callback for handling of
* netlink messages
--
1.7.7.6