mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2026-05-24 05:33:15 +02:00
crypto: Fix build issue with missing _GNU_SOURCE
CC src/crypto.o
src/crypto.c: In function ‘aes_unwrap’:
src/crypto.c:187:9: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
187 | explicit_bzero(&b[1], 8);
| ^~~~~~~~~~~~~~
This commit is contained in:
parent
4e064859b7
commit
f92c6cf0cf
@ -26,6 +26,7 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define _GNU_SOURCE
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user