summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/m_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/m_string.h b/include/m_string.h
index 0d248ea0ad3..53572a4ac9e 100644
--- a/include/m_string.h
+++ b/include/m_string.h
@@ -58,7 +58,7 @@
# define bfill(A,B,C) memset((A),(C),(B))
#endif
-#if !defined(bzero) && !defined(HAVE_BZERO)
+#if !defined(bzero) && (!defined(HAVE_BZERO) || !defined(HAVE_DECL_BZERO))
# define bzero(A,B) memset((A),0,(B))
#endif