From 27e62e0de75ef36a4198171d56d7982b7cfd00cc Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 23 Feb 2014 12:39:45 -0800 Subject: [PATCH] configure: Request X/Open 7 (XSI) compliance. This is required for strndup(). --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index a5226d2..ede963b 100644 --- a/configure.ac +++ b/configure.ac @@ -94,8 +94,8 @@ if test "x$enable_standards" = "xyes"; then [Define to enforce ISO/IEC 9899:1999 (C99) compliance.]) AC_DEFINE([_POSIX_C_SOURCE], 200112L, [Define to enforce IEEE 1003.1-2001 (POSIX:2001) compliance.]) - AC_DEFINE([_XOPEN_SOURCE], 600, - [Define to enforce X/Open 6 (XSI) compliance.]) + AC_DEFINE([_XOPEN_SOURCE], 700, + [Define to enforce X/Open 7 (XSI) compliance.]) AC_DEFINE([_REENTRANT], 1, [Define to enable reentrant interfaces.]) AC_DEFINE([_THREAD_SAFE], 1, -- 2.30.2