summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-misc.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-02-26 11:43:48 +1100
committerDarren Tucker <dtucker@dtucker.net>2018-02-27 08:51:52 +1100
commitf0b245b0439e600fab782d19e97980e9f2c2533c (patch)
tree0ccd950613706c45a34d4c04958d1d395d01d683 /openbsd-compat/bsd-misc.h
parentc7ef4a399155e1621a532cc5e08e6fa773658dd4 (diff)
Check if HAVE_DECL_BZERO correctly.
Diffstat (limited to 'openbsd-compat/bsd-misc.h')
-rw-r--r--openbsd-compat/bsd-misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h
index 2a73ae45..fb81e6c7 100644
--- a/openbsd-compat/bsd-misc.h
+++ b/openbsd-compat/bsd-misc.h
@@ -133,7 +133,7 @@ void warn(const char *, ...) __attribute__((format(printf, 1, 2)));
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