From 0a07ee146dd7c4e929cdc2f584989b5f44924d5b Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 10 Apr 2024 06:44:02 +0900 Subject: [PATCH] meson: use headers in our code base when checking filesystem table Note, GFS2_MAGIC is also defined in missing_magic.h, so linux/gfs2_ondisk.h is not necessary anymore. --- src/basic/meson.build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/basic/meson.build b/src/basic/meson.build index 1516a9f7af3..c9fd1d1f543 100644 --- a/src/basic/meson.build +++ b/src/basic/meson.build @@ -234,8 +234,10 @@ run_target( ############################################################ -filesystem_includes = ['linux/magic.h', - 'linux/gfs2_ondisk.h'] +filesystem_includes = files( + 'linux/magic.h', + 'missing_magic.h', +) check_filesystems = find_program('check-filesystems.sh') r = run_command([check_filesystems, cpp, files('filesystems-gperf.gperf')] + filesystem_includes, check: false) -- 2.47.3