mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2026-02-11 06:58:04 +01:00
eap-gtc: Fix build issue with missing _GNU_SOURCE
CC src/eap-gtc.o
src/eap-gtc.c: In function ‘eap_gtc_free’:
src/eap-gtc.c:48:17: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
48 | explicit_bzero(gtc->password, strlen(gtc->password));
| ^~~~~~~~~~~~~~
This commit is contained in:
parent
242a8e0292
commit
169bd75678
@ -24,8 +24,10 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <ell/ell.h>
|
||||
|
||||
#include "src/missing.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user