From: Anders F Björklund Date: Tue, 12 Jun 2018 19:58:29 +0000 (+0200) Subject: Add patch for X/Open, from FreeBSD ports X-Git-Tag: v3.5~51 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=cf0d3a80bcf9f2515f9456ae34a9f2760bee62ad;p=thirdparty%2Fccache.git Add patch for X/Open, from FreeBSD ports Without this, e.g. "strndup" isn't visible. --- 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