commit d3c888a
xplshn
·
2026-06-11 20:06:15 +0000 UTC
parent 1c0c81d
Fix compilation error on NetBSD Signed-off-by: xplshn <anto@xplshn.com.ar>
1 files changed,
+2,
-0
1@@ -3,6 +3,7 @@
2
3 #include "../util.h"
4
5+#ifndef HAVE_EXPLICIT_BZERO
6 static void *(*volatile explicit_memset)(void *, int, size_t) = memset;
7
8 void
9@@ -10,3 +11,4 @@ explicit_bzero(void *b, size_t len)
10 {
11 (*explicit_memset)(b, 0, len);
12 }
13+#endif