[libvirt] [PATCH 5/4] build: fix another virdbus issue on mingw

Eric Blake eblake at redhat.com
Mon Jul 29 15:59:44 UTC 2013


Depending on the set of mingw packages installed, it is possible
that other .c files hit the mingw header pollution from the
virdbus.h file.

In file included from ../../src/rpc/virnetserver.c:39:0:
../../src/util/virdbus.h:41:35: error: expected ';', ',' or ')' before 'struct'
                       const char *interface,
                                   ^

* src/util/virdbus.h (virDBusCallMethod): Match .c file change.

Signed-off-by: Eric Blake <eblake at redhat.com>
---

Another build-breaker push.

 src/util/virdbus.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/virdbus.h b/src/util/virdbus.h
index c04fd10..39de479 100644
--- a/src/util/virdbus.h
+++ b/src/util/virdbus.h
@@ -38,7 +38,7 @@ int virDBusCallMethod(DBusConnection *conn,
                       DBusMessage **reply,
                       const char *destination,
                       const char *path,
-                      const char *interface,
+                      const char *iface,
                       const char *member,
                       const char *types, ...);
 int virDBusMessageRead(DBusMessage *msg,
-- 
1.8.3.1




More information about the libvir-list mailing list