From c994fe487910bc4da298bb63d374726d102d02c2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 12 Sep 2023 10:20:24 +0200 Subject: [PATCH] io/uring/meson.build: detect liburing with include_type=system This avoids breakages due to `-Wgnu-anonymous-struct`. --- src/io/uring/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/io/uring/meson.build b/src/io/uring/meson.build index ed958f646..8c8f203a8 100644 --- a/src/io/uring/meson.build +++ b/src/io/uring/meson.build @@ -7,7 +7,9 @@ if host_machine.system() != 'linux' subdir_done() endif -liburing = dependency('liburing', required: get_option('io_uring')) +liburing = dependency('liburing', + include_type: 'system', + required: get_option('io_uring')) uring_features.set('HAVE_URING', liburing.found()) configure_file(output: 'Features.h', configuration: uring_features)