From d4b93220c5a7f7c745ba5b3705638763bf909f8f Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Wed, 26 Jan 2022 10:19:42 -0800 Subject: [PATCH] sae: fix missing reallocarray definition Building on GCC 8 resulted in this compiler error. src/sae.c:107:25: error: implicit declaration of function 'reallocarray'; did you mean 'realloc'? [-Werror=implicit-function-declaration] sm->rejected_groups = reallocarray(NULL, 2, sizeof(uint16_t)); --- src/sae.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sae.c b/src/sae.c index dc07db4b..a4150628 100644 --- a/src/sae.c +++ b/src/sae.c @@ -24,6 +24,8 @@ #include #endif +#include + #include #include "src/missing.h"