diff options
author | Simon McVittie <smcv@debian.org> | 2011-09-21 15:31:36 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2011-09-21 15:31:36 +0100 |
commit | 5c56c903340521d9ad6fec85786b3666b8e30b37 (patch) | |
tree | 3fd32e0cfa736c4e8ca1ef225b91235c02c24779 /test/dbus-daemon.c | |
parent | 201e26f277511adf0fbb67aa39d335f281c6085f (diff) | |
download | dbus-upstream/1.4.16.tar.gz |
Imported Upstream version 1.4.16upstream/1.4.16
Diffstat (limited to 'test/dbus-daemon.c')
-rw-r--r-- | test/dbus-daemon.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/dbus-daemon.c b/test/dbus-daemon.c index ed10d098..e192c68f 100644 --- a/test/dbus-daemon.c +++ b/test/dbus-daemon.c @@ -34,6 +34,7 @@ #include <string.h> #ifdef DBUS_WIN +# include <io.h> # include <windows.h> #else # include <signal.h> @@ -44,7 +45,7 @@ typedef struct { DBusError e; GError *ge; - gint daemon_pid; + GPid daemon_pid; DBusConnection *left_conn; @@ -66,7 +67,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; |