commit b1bcc47ffeeed0c689170dffa9089712ad222f17
parent 534a41c0737d0e93aee3a9deb85927be86b3cd09
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Tue, 10 Feb 2026 09:15:38 +0100
erp: Fix build issue with missing _GNU_SOURCE
CC src/erp.o
src/erp.c: In function ‘erp_free’:
src/erp.c:357:9: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
357 | explicit_bzero(erp->rmsk, sizeof(erp->rmsk));
| ^~~~~~~~~~~~~~
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/erp.c b/src/erp.c
@@ -24,6 +24,7 @@
#include <config.h>
#endif
+#define _GNU_SOURCE
#include <stdint.h>
#include <stdio.h>
#include <errno.h>