sae: define _GNU_SOURCE for reallocarray definition
James Prestwood
PATCH 1/1 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(+)
src/sae.c +1 -0
@@ -24,6 +24,7 @@#include <config.h> #endif +#define _GNU_SOURCE#include <stdlib.h> #include <ell/ell.h>
Signature · 1 line
2.34.1
Denis Kenzior
AppliedHi James,
Quoted 7 lines · James Prestwood
sae.cwas 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(+)
Applied, thanks.
Regards,
-Denis