3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2026-02-10 22:47:56 +01:00

epa-peap: Fix build issue with missing _GNU_SOURCE

CC       src/eap-peap.o
src/eap-peap.c: In function ‘eap_peap_phase2_complete’:
src/eap-peap.c:120:9: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
  120 |         explicit_bzero(peap_state->key, sizeof(peap_state->key));
      |         ^~~~~~~~~~~~~~
This commit is contained in:
Marcel Holtmann 2026-02-10 16:46:43 +01:00
parent e93b1566ef
commit 242a8e0292

View File

@ -24,6 +24,7 @@
#include <config.h>
#endif
#define _GNU_SOURCE
#include <string.h>
#include <stdio.h>
#include <errno.h>