commit 13382cbb47e6db161e2cdee3c18c07fe23c132f0
parent fc55e93829a4b5fd6b9e7cac27dcf71531f1239f
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Tue, 10 Feb 2026 16:39:43 +0100
eap-ttls: Fix build issue with missing _GNU_SOURCE
CC src/eap-ttls.o
src/eap-ttls.c: In function ‘avp_builder_free’:
src/eap-ttls.c:159:17: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
159 | explicit_bzero(builder->buf, builder->pos);
| ^~~~~~~~~~~~~~
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/eap-ttls.c b/src/eap-ttls.c
@@ -24,6 +24,7 @@
#include <config.h>
#endif
+#define _GNU_SOURCE
#include <string.h>
#include <stdio.h>
#include <errno.h>