From e81f078bfd867413b3500ba5d815837995f6d56a Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 10 Feb 2026 16:40:41 +0100 Subject: [PATCH] eap-mschapv2: Fix build issue with missing _GNU_SOURCE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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)); | ^~~~~~~~~~~~~~ --- src/eap-mschapv2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/eap-mschapv2.c b/src/eap-mschapv2.c index 00976d73..cfe4593b 100644 --- a/src/eap-mschapv2.c +++ b/src/eap-mschapv2.c @@ -24,9 +24,11 @@ #include #endif +#define _GNU_SOURCE #include #include #include +#include #include #include "src/missing.h"