From f0b245b0439e600fab782d19e97980e9f2c2533c Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 26 Feb 2018 11:43:48 +1100 Subject: Check if HAVE_DECL_BZERO correctly. --- openbsd-compat/bsd-misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsd-compat') 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 -- cgit v1.2.3