mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-06 09:18:12 +02:00
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 <alan.coopersmith@oracle.com>
This commit is contained in:
parent
57f885bd4c
commit
274c16589f
1 changed files with 1 additions and 1 deletions
|
|
@ -568,7 +568,7 @@ endif
|
|||
adt_api_check = cc.compiles('''
|
||||
#include <bsm/adt.h>
|
||||
int main() {
|
||||
adt_user_context = ADT_USER;
|
||||
int adt_user_context = ADT_USER;
|
||||
return 0;
|
||||
}
|
||||
''', args: compile_args_c)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue