On Fri, Apr 07, 2023 at 11:29:46AM +0200, David Turner wrote: > So it looks like that for some reason, the QEMU linux-headers directory is not > in the include search path for this compilation command, and that the > system-or-sysroot provided <linux/vhost.h> is picked instead. Fixing this > might > be a better long-term fix than what I am proposing in this patch. I am not > sure > how to do that yet though. Do you have any recommendations?
Check what flags are passed to the compiler :) meson.build has: if targetos == 'linux' add_project_arguments('-isystem', meson.current_source_dir() / 'linux-headers', '-isystem', 'linux-headers', language: all_languages) endif -- MST