]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: use headers in our code base when checking filesystem table 32143/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 9 Apr 2024 21:44:02 +0000 (06:44 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 9 Apr 2024 21:45:41 +0000 (06:45 +0900)
Note, GFS2_MAGIC is also defined in missing_magic.h, so
linux/gfs2_ondisk.h is not necessary anymore.

src/basic/meson.build

index 1516a9f7af3e4cd7d6155094aef2a380d4d860e2..c9fd1d1f5430cc7adb8bcc7add51198a75c42b9b 100644 (file)
@@ -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)