From 6fce08c30115e108a51174f7702addacab145e3a Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Thu, 24 Feb 2022 10:00:37 -0800 Subject: [PATCH] sae: define _GNU_SOURCE for reallocarray definition sae.c was failing to build on some platforms: error: implicit declaration of function 'reallocarray'; did you mean 'realloc'? [-Werror=implicit-function-declaration] --- src/sae.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sae.c b/src/sae.c index a4150628..859ec94b 100644 --- a/src/sae.c +++ b/src/sae.c @@ -24,6 +24,7 @@ #include #endif +#define _GNU_SOURCE #include #include