mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2026-02-11 15:17:57 +01:00
eap-sim: Fix build issue with missing _GNU_SOURCE
CC src/eap-sim.o
src/eap-sim.c: In function ‘eap_sim_clear_secrets’:
src/eap-sim.c:132:9: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
132 | explicit_bzero(sim->mk, sizeof(sim->mk));
| ^~~~~~~~~~~~~~
This commit is contained in:
parent
e81f078bfd
commit
5a08930507
@ -24,10 +24,12 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <alloca.h>
|
||||
#include <string.h>
|
||||
#include <ell/ell.h>
|
||||
|
||||
#include "src/missing.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user