From de3c8ab3fb6823a83388f9e5501d2dad5bdb2632 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 10 Feb 2026 16:50:07 +0100 Subject: [PATCH] mschaputil: Fix build issue with missing _GNU_SOURCE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CC src/mschaputil.o src/mschaputil.c: In function ‘mschap_des_encrypt’: src/mschaputil.c:55:9: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration] 55 | explicit_bzero(pkey, 8); | ^~~~~~~~~~~~~~ --- src/mschaputil.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mschaputil.c b/src/mschaputil.c index 7a4927ba..165d1c89 100644 --- a/src/mschaputil.c +++ b/src/mschaputil.c @@ -24,6 +24,9 @@ #include #endif +#define _GNU_SOURCE +#include + #include #include "src/missing.h"