From 74868224e487be6263d3eaa94c752273b4adb144 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 12 Aug 2011 10:45:15 +0100 Subject: [PATCH] dbus-daemon-eavesdrop test: apply the same Windows fixes as dbus-daemon test Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40003 --- test/dbus-daemon-eavesdrop.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/dbus-daemon-eavesdrop.c b/test/dbus-daemon-eavesdrop.c index 6819ec1..4f5eee2 100644 --- a/test/dbus-daemon-eavesdrop.c +++ b/test/dbus-daemon-eavesdrop.c @@ -35,6 +35,7 @@ #include #ifdef DBUS_WIN +# include # include #else # include @@ -73,7 +74,7 @@ typedef struct { DBusError e; GError *ge; - gint daemon_pid; + GPid daemon_pid; /* eavedrop keyword tests */ DBusConnection *sender; @@ -102,7 +103,7 @@ _assert_no_error (const DBusError *e, static gchar * spawn_dbus_daemon (gchar *binary, gchar *configuration, - gint *daemon_pid) + GPid *daemon_pid) { GError *error = NULL; GString *address; -- 2.7.4