The DBusMessage structure includes unix_fds, n_unix_fds, n_unix_fds_allocated, and unix_fd_counter_delta iff HAVE_UNIX_FD_PASSING is set. However, the dbus_message_contians_unix_fds() function from dbus-message.c unconditionally accesses one of these elements of the structure, leading to a compilation failure. The obvious answer seems to be to return FALSE in response to dbus_message_contains_unix_fds without HAVE_UNIX_FD_PASSING, as that result seems to be implicit.
Created attachment 209324 [details, diff] Patch to allow dbus_message.c to build when HAVE_UNIX_FD_PASSING is not set
Just to note, this has been fixed in upstream's vcs: the bug: https://bugs.freedesktop.org/show_bug.cgi?id=22888 and the commit: http://cgit.freedesktop.org/dbus/dbus/commit/?id=c1a31b6b30dc683f219ffb8c655138b07a12a187 Maybe that patch should be used/quoted.
upstream patch applied, thanks