]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
fat-arm: Add missing define for _GNU_SOURCE
authorAndreas Schneider <asn@samba.org>
Mon, 4 Sep 2017 08:01:19 +0000 (10:01 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Wed, 6 Sep 2017 20:34:34 +0000 (22:34 +0200)
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 <asn@samba.org>
fat-arm.c

index 1156499d6e908f107501607ecb99c7a769d9e822..d52b1439f2d88991c26b5a4b00f76ff45a8203df 100644 (file)
--- 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