On Fri, 23 Dec 2022 11:18:20 -0500 Steven Rostedt <rostedt@xxxxxxxxxxx> wrote: > As a work around. But now I get this: > > ../tracecmd/trace-profile.c:13:10: fatal error: libaudit.h: No such file or directory > 13 | #include <libaudit.h> > | ^~~~~~~~~~~~ > > > We're missing the -DNO_AUDIT added when not there, as that file has: I guess something like this is needed? diff --git a/meson.build b/meson.build index 31f8a101190e..d2cfe15b4a60 100644 --- a/meson.build +++ b/meson.build @@ -78,6 +79,12 @@ audit_dep = dependency('audit', required: false) if not audit_dep.found() conf10.set('NO_AUDIT', true, description: 'Is audit missing?') conf.set('WARN_NO_AUDIT', true, description: 'Issue no audit warning?') + add_project_arguments( + [ + '-DNO_AUDIT' + ], + language : 'c', + ) endif config_h = configure_file( -- Steve