tools/dbus-launch.c: wrap X'ism in #ifdef so we can compile without X

This commit is contained in:
John (J5) Palmieri 2008-03-04 10:03:14 -05:00
parent f269ceaa63
commit 46b48ac654
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2008-03-04 John (J5) Palmieri <johnp@redhat.com>
* tools/dbus-launch.c: wrap X'ism in #ifdef so we can compile
without X
2008-02-28 John (J5) Palmieri <johnp@redhat.com>
* dbus/dbus-sysdeps-unix.c: define _AI_ADDRCONFIG as 0 if not

View file

@ -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 ();