From: Andreas Schneider Date: Mon, 4 Sep 2017 08:01:19 +0000 (+0200) Subject: fat-arm: Add missing define for _GNU_SOURCE X-Git-Tag: nettle_3.4rc1~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2ca3c1ee9f56900f219dca0ae3a4da0c21ef97c;p=thirdparty%2Fnettle.git fat-arm: Add missing define for _GNU_SOURCE If configure finds secure_getenv it wants to use it. However it fails to find the prototype because it is a GNU extension. Signed-off-by: Andreas Schneider --- diff --git a/fat-arm.c b/fat-arm.c index 1156499d..d52b1439 100644 --- a/fat-arm.c +++ b/fat-arm.c @@ -29,6 +29,8 @@ not, see http://www.gnu.org/licenses/. */ +#define _GNU_SOURCE + #if HAVE_CONFIG_H # include "config.h" #endif