From: Jakub Jelinek Date: Mon, 20 May 2019 21:29:17 +0000 (+0200) Subject: re PR libgomp/90527 (alloc.c:72:7: error: implicit declaration of function ‘posix_mem... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e03ed662651dada81e39d8850da82e80f54fd2d;p=gcc.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: r271438 --- diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index e0a128f948f..0ead223d83a 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-17 Thomas Schwinge * acc_prof.h: New file. diff --git a/libgomp/alloc.c b/libgomp/alloc.c index 9145e4b94bf..c28e32f961e 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