mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2026-05-24 13:43:25 +02:00
eap-pwd: Fix build issue with missing _GNU_SOURCE
CC src/eap-pwd.o
src/eap-pwd.c: In function ‘eap_pwd_free’:
src/eap-pwd.c:177:17: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
177 | explicit_bzero(pwd->password, strlen(pwd->password));
| ^~~~~~~~~~~~~~
This commit is contained in:
parent
169bd75678
commit
3f130f7f34
@ -24,7 +24,9 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define _GNU_SOURCE
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <ell/ell.h>
|
#include <ell/ell.h>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user