summaryrefslogtreecommitdiffstats
path: root/openbsd-compat
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-02-26 01:43:48 +0100
committerDarren Tucker <dtucker@dtucker.net>2018-02-26 22:51:52 +0100
commitf0b245b0439e600fab782d19e97980e9f2c2533c (patch)
tree0ccd950613706c45a34d4c04958d1d395d01d683 /openbsd-compat
parentWrap <stdint.h> in #ifdef HAVE_STDINT_H. (diff)
downloadopenssh-f0b245b0439e600fab782d19e97980e9f2c2533c.tar.xz
openssh-f0b245b0439e600fab782d19e97980e9f2c2533c.zip
Check if HAVE_DECL_BZERO correctly.
Diffstat (limited to 'openbsd-compat')
-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 2a73ae45b..fb81e6c72 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