From 8f3950ad322eab1ee3f5bf9c6ff624d28f567917 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 26 Jan 2011 18:24:03 +0000 Subject: [PATCH 2/2] 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 --- configure.in | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/configure.in b/configure.in index 08bd962..d973e7e 100644 --- a/configure.in +++ b/configure.in @@ -1311,6 +1311,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 changequote(,)dnl -- 1.7.2.3