15 lines
392 B
Diff
15 lines
392 B
Diff
|
diff --git a/tools/dbus-launch.c b/tools/dbus-launch.c
|
||
|
index 5d6e77e..6a10ffa 100644
|
||
|
--- a/tools/dbus-launch.c
|
||
|
+++ b/tools/dbus-launch.c
|
||
|
@@ -966,7 +966,9 @@ main (int argc, char **argv)
|
||
|
char write_pid_fd_as_string[MAX_FD_LEN];
|
||
|
char write_address_fd_as_string[MAX_FD_LEN];
|
||
|
|
||
|
+#ifdef DBUS_BUILD_X11
|
||
|
xdisplay = NULL;
|
||
|
+#endif
|
||
|
|
||
|
if (close_stderr)
|
||
|
do_close_stderr ();
|