commit 8a46eca3f73fcd86d4b6343a1f256fafd9778f63
parent f6bcb01d40a7e4fd2128307ba405f2f643af89f9
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Tue, 10 Feb 2026 16:35:49 +0100
dpp: Fix build issue with missing _GNU_SOURCE
CC src/dpp.o
src/dpp.c: In function ‘dpp_reset’:
src/dpp.c:536:9: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
536 | explicit_bzero(dpp->r_nonce, dpp->nonce_len);
| ^~~~~~~~~~~~~~
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/dpp.c b/src/dpp.c
@@ -24,7 +24,9 @@
#include <config.h>
#endif
+#define _GNU_SOURCE
#include <errno.h>
+#include <string.h>
#include <ell/ell.h>