From 55de16402382e6a8fed3a87ffa6bb74567dea5c1 Mon Sep 17 00:00:00 2001 From: Martijn Otto Date: Wed, 21 Feb 2018 09:49:54 +0100 Subject: [PATCH] Set the feature test macro before including the header to enable non-standard functions used by libr3 --- src/memory.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/memory.c b/src/memory.c index e0360bb..bd4e873 100644 --- a/src/memory.c +++ b/src/memory.c @@ -19,6 +19,9 @@ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. */ + +#define _GNU_SOURCE + #include #include #include