commit 6fce08c30115e108a51174f7702addacab145e3a
parent 1de7ef0afdb9ead66dbf86521a97be62c261afad
Author: James Prestwood <prestwoj@gmail.com>
Date: Thu, 24 Feb 2022 10:00:37 -0800
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]
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/sae.c b/src/sae.c
@@ -24,6 +24,7 @@
#include <config.h>
#endif
+#define _GNU_SOURCE
#include <stdlib.h>
#include <ell/ell.h>