mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2026-02-11 06:58:04 +01:00
network: Fix build issue with missing _GNU_SOURCE
CC src/network.o
src/network.c: In function ‘network_reset_psk’:
src/network.c:114:17: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
114 | explicit_bzero(network->psk, 32);
| ^~~~~~~~~~~~~~
This commit is contained in:
parent
1cef23cd7b
commit
6f1b31d62d
@ -24,6 +24,7 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user