From cf0d3a80bcf9f2515f9456ae34a9f2760bee62ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Tue, 12 Jun 2018 21:58:29 +0200 Subject: [PATCH] Add patch for X/Open, from FreeBSD ports Without this, e.g. "strndup" isn't visible. --- m4/feature_macros.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m4/feature_macros.m4 b/m4/feature_macros.m4 index 0243e9f34..05d3e4933 100644 --- a/m4/feature_macros.m4 +++ b/m4/feature_macros.m4 @@ -120,7 +120,7 @@ then Define to the level of X/Open that your system supports) ;; *) - AC_DEFINE(_XOPEN_SOURCE, 600, + AC_DEFINE(_XOPEN_SOURCE, 700, Define to the level of X/Open that your system supports) ;; esac @@ -142,6 +142,6 @@ then ;; esac - AC_DEFINE(_POSIX_C_SOURCE, 200112L, Define to activate features from IEEE Stds 1003.1-2001) + AC_DEFINE(_POSIX_C_SOURCE, 200809L, Define to activate features from IEEE Stds 1003.1-2001) fi -- 2.47.2