commit 02ee2df95203fc41b16284f6677f9863813f9212
parent 6f1b31d62d3a6057db9030a49f3e33d4e7d141b6
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Tue, 10 Feb 2026 09:10:35 +0100
wsc: Fix build issue with missing _GNU_SOURCE
CC src/wsc.o
src/wsc.c: In function ‘wsc_enrollee_credential_obtained’:
src/wsc.c:211:25: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
211 | explicit_bzero(decoded, 32);
| ^~~~~~~~~~~~~~
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/wsc.c b/src/wsc.c
@@ -24,6 +24,7 @@
#include <config.h>
#endif
+#define _GNU_SOURCE
#include <errno.h>
#include <stdio.h>
#include <ell/ell.h>