From 169bd75678bec8605c48ba43cf81701bbe19c62c Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 10 Feb 2026 16:47:30 +0100 Subject: [PATCH] eap-gtc: 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-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)); | ^~~~~~~~~~~~~~ --- src/eap-gtc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/eap-gtc.c b/src/eap-gtc.c index 4d2d67ab..80a857cb 100644 --- a/src/eap-gtc.c +++ b/src/eap-gtc.c @@ -24,8 +24,10 @@ #include #endif +#define _GNU_SOURCE #include #include +#include #include #include "src/missing.h"