Disable _XOPEN_SOURCE for Solaris 2.6. Fixes #690317.
diff --git a/configure b/configure
index a005779..5f2c504 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.395 .
+# From configure.in Revision: 1.396 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for python 2.3.
#
@@ -1341,6 +1341,10 @@
# even though select is a POSIX function. Reported by J. Ribbens.
OpenBSD/2.* | OpenBSD/3.[012])
define_xopen_source=no;;
+ # On Solaris 2.6, sys/wait.h is inconsistent in the usage
+ # of union __?sigval. Reported by Stuart Bishop.
+ SunOS/5.6)
+ define_xopen_source=no;;
esac
if test $define_xopen_source = yes
diff --git a/configure.in b/configure.in
index 586e60a..ed1ee95 100644
--- a/configure.in
+++ b/configure.in
@@ -120,6 +120,10 @@
# even though select is a POSIX function. Reported by J. Ribbens.
OpenBSD/2.* | OpenBSD/3.@<:@012@:>@)
define_xopen_source=no;;
+ # On Solaris 2.6, sys/wait.h is inconsistent in the usage
+ # of union __?sigval. Reported by Stuart Bishop.
+ SunOS/5.6)
+ define_xopen_source=no;;
esac
if test $define_xopen_source = yes