From 274c16589f7fade206a736b2c66ba94a2e1625eb Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 7 Oct 2024 17:13:53 -0700 Subject: [PATCH] meson: Fix check for Solaris audit API to work with gcc 14 Need to declare a variable type to avoid gcc 14 error: error: type defaults to 'int' in declaration of 'adt_user_context' [-Wimplicit-int] Fixes: cd2e3826 ("Add Meson build system") Signed-off-by: Alan Coopersmith --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index d512f798..44bd6d2d 100644 --- a/meson.build +++ b/meson.build @@ -568,7 +568,7 @@ endif adt_api_check = cc.compiles(''' #include int main() { - adt_user_context = ADT_USER; + int adt_user_context = ADT_USER; return 0; } ''', args: compile_args_c)