mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2026-02-11 15:17:57 +01: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>
|
||||
#endif
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <ell/ell.h>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user