3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2026-02-11 06:58:04 +01:00

eap-mschapv2: Fix build issue with missing _GNU_SOURCE

CC       src/eap-mschapv2.o
src/eap-mschapv2.c: In function ‘eap_mschapv2_state_free’:
src/eap-mschapv2.c:202:9: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
  202 |         explicit_bzero(state->password_hash, sizeof(state->password_hash));
      |         ^~~~~~~~~~~~~~
This commit is contained in:
Marcel Holtmann 2026-02-10 16:40:41 +01:00
parent 13382cbb47
commit e81f078bfd

View File

@ -24,9 +24,11 @@
#include <config.h>
#endif
#define _GNU_SOURCE
#include <ctype.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <ell/ell.h>
#include "src/missing.h"