Pavel Strashkin writes: > Passing UNIX FD was introduced in X/Open CAE Specification, Issue 4, > Version 2 (XPG4v2) so you need to enable it at compile time. > I've added "-D_XOPEN_SOURCE=500" and everything compiles without any error.
The fact that dbus fails to compile on Solaris, rather than failing the check in configure and compiling with fd-passing support missing, suggests that we're using more features than we check for, which is arguably a platform-independent bug.
Created attachment 42542 [details] [review] Opt-in to modern OS features on Solaris, to get file descriptor passing Surely it's broken to define SCM_RIGHTS but not the necessary structs to do something useful with it, but whatever.
For the record, this is <http://lists.freedesktop.org/archives/dbus/2010-December/013846.html>.
Review of attachment 42542 [details] [review]: ::: configure.in @@ +1314,3 @@ + # ... and this opt-in to get file descriptor passing support + CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500" + ;; Looks fine.
Thanks, fixed in git for 1.4.12, 1.5.6.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.