3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

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));
This commit is contained in:
James Prestwood 2022-01-26 10:19:42 -08:00 committed by Denis Kenzior
parent b47ada02bf
commit d4b93220c5

View File

@ -24,6 +24,8 @@
#include <config.h>
#endif
#include <stdlib.h>
#include <ell/ell.h>
#include "src/missing.h"