From 42a969202c9b984a0c4a81d937bb1e9940ba13a1 Mon Sep 17 00:00:00 2001 From: Michael Hamburg Date: Sat, 22 Apr 2017 19:09:10 -0700 Subject: [PATCH] add _DEFAULT_SOURCE for more modern glibc --- src/shake.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shake.c b/src/shake.c index 009f4da..dba72dc 100644 --- a/src/shake.c +++ b/src/shake.c @@ -13,6 +13,7 @@ #define __STDC_WANT_LIB_EXT1__ 1 /* for memset_s */ #define _BSD_SOURCE 1 /* for endian */ +#define _DEFAULT_SOURCE 1 /* for endian with glibc 2.20 */ #include #include #include