summaryrefslogtreecommitdiff
path: root/fat-arm.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-09-04 10:01:19 +0200
committerNiels Möller <nisse@lysator.liu.se>2017-09-06 22:34:34 +0200
commita2ca3c1ee9f56900f219dca0ae3a4da0c21ef97c (patch)
treeabbe1c3fc68212e1c4f06ce890d3c21ad3aeb304 /fat-arm.c
parent2707d5a87c7d34a030a6e796f9feff42668fa943 (diff)
downloadnettle-a2ca3c1ee9f56900f219dca0ae3a4da0c21ef97c.tar.gz
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 <asn@samba.org>
Diffstat (limited to 'fat-arm.c')
-rw-r--r--fat-arm.c2
1 files changed, 2 insertions, 0 deletions
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