diff options
Diffstat (limited to 'src/port/explicit_bzero.c')
-rw-r--r-- | src/port/explicit_bzero.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/port/explicit_bzero.c b/src/port/explicit_bzero.c index 1d37b119bab..53766e86e94 100644 --- a/src/port/explicit_bzero.c +++ b/src/port/explicit_bzero.c @@ -12,9 +12,11 @@ *------------------------------------------------------------------------- */ +#define __STDC_WANT_LIB_EXT1__ 1 /* needed to access memset_s() */ + #include "c.h" -#if defined(HAVE_MEMSET_S) +#if HAVE_DECL_MEMSET_S void explicit_bzero(void *buf, size_t len) |