From 3e03ed662651dada81e39d8850da82e80f54fd2d Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 20 May 2019 23:29:17 +0200 Subject: [PATCH] =?utf8?q?re=20PR=20libgomp/90527=20(alloc.c:72:7:=20error?= =?utf8?q?:=20implicit=20declaration=20of=20function=20=E2=80=98posix=5Fme?= =?utf8?q?malign=E2=80=99)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit PR libgomp/90527 * alloc.c (_GNU_SOURCE): Define. From-SVN: r271438 --- libgomp/ChangeLog | 5 +++++ libgomp/alloc.c | 1 + 2 files changed, 6 insertions(+) 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 -- 2.30.2