From: Simon McVittie Date: Fri, 12 Aug 2011 09:45:15 +0000 (+0100) Subject: dbus-daemon-eavesdrop test: apply the same Windows fixes as dbus-daemon test X-Git-Tag: dbus-1.5.8~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=74868224e487be6263d3eaa94c752273b4adb144;p=platform%2Fupstream%2Fdbus.git dbus-daemon-eavesdrop test: apply the same Windows fixes as dbus-daemon test Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40003 --- 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;