Check if HAVE_DECL_BZERO correctly.
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h
index 2a73ae4..fb81e6c 100644
--- a/openbsd-compat/bsd-misc.h
+++ b/openbsd-compat/bsd-misc.h
@@ -133,7 +133,7 @@
 long long llabs(long long);
 #endif
 
-#ifndef HAVE_DECL_BZERO
+#if defined(HAVE_DECL_BZERO) && HAVE_DECL_BZERO == 0
 void bzero(void *, size_t);
 #endif