From: Jakub Jelinek Date: Mon, 20 May 2019 21:29:49 +0000 (+0200) Subject: re PR libgomp/90527 (alloc.c:72:7: error: implicit declaration of function ‘posix_mem... X-Git-Tag: releases/gcc-9.2.0~339 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=357a67c1a7e27afae8c1f02e2ad47fafd9f778ff;p=thirdparty%2Fgcc.git re PR libgomp/90527 (alloc.c:72:7: error: implicit declaration of function ‘posix_memalign’) PR libgomp/90527 * alloc.c (_GNU_SOURCE): Define. From-SVN: r271439 --- diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 3327856787fd..597c55e31540 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2019-05-20 Jakub Jelinek + + PR libgomp/90527 + * alloc.c (_GNU_SOURCE): Define. + 2019-05-07 Thomas Schwinge PR target/87835 diff --git a/libgomp/alloc.c b/libgomp/alloc.c index 9145e4b94bff..c28e32f961e0 100644 --- a/libgomp/alloc.c +++ b/libgomp/alloc.c @@ -27,6 +27,7 @@ places in the OpenMP API do not make any provision for failure, so in general we cannot allow memory allocation to fail. */ +#define _GNU_SOURCE #include "libgomp.h" #include