From b8e914744e6af5ffc79d3c4b0cfffd14ebf0a64f Mon Sep 17 00:00:00 2001 From: Julio B Date: Tue, 28 Oct 2025 05:45:44 +0200 Subject: [PATCH] meson: use explicit_bzero if it is available AC_CHECK_FUNCS([explicit_bzero]) was not ported during the switch from autotools to meson. Fixes: ea1cb44a Related: 9f675b8a --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index b5a6e6dd..ddc82339 100644 --- a/meson.build +++ b/meson.build @@ -45,6 +45,7 @@ endif cdata.set('HAVE_STRNDUP', cc.has_function('strndup')) cdata.set('HAVE_MKDIRP', cc.has_function('mkdirp')) +cdata.set('HAVE_EXPLICIT_BZERO', cc.has_function('explicit_bzero')) # Instead of generating config.h directly, make vcs_tag generate it so that # @VCS_TAG@ is replaced.