From: Simon McVittie Date: Wed, 26 Jan 2011 18:24:03 +0000 (+0000) Subject: Opt-in to modern OS features on Solaris, to get file descriptor passing X-Git-Tag: dbus-1.4.14~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=41d7854cea6b192b3f406aaf37d969cbd9dcb153;p=thirdparty%2Fdbus.git 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. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33465 Reviewed-by: Will Thompson --- diff --git a/configure.ac b/configure.ac index a7680703e..a4c218558 100644 --- a/configure.ac +++ b/configure.ac @@ -1231,6 +1231,9 @@ case $host_os in solaris*) # Solaris' C library apparently needs these runes to be threadsafe... CFLAGS="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT" + # ... and this opt-in to get file descriptor passing support + CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500" + ;; esac ### Doxygen Documentation