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

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]
This commit is contained in:
James Prestwood 2022-02-24 10:00:37 -08:00 committed by Denis Kenzior
parent 1de7ef0afd
commit 6fce08c301

View File

@ -24,6 +24,7 @@
#include <config.h> #include <config.h>
#endif #endif
#define _GNU_SOURCE
#include <stdlib.h> #include <stdlib.h>
#include <ell/ell.h> #include <ell/ell.h>