From 81785c1b9a9c1b797e7406a3542c01d972c61315 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 7 Aug 2022 16:45:30 +0200 Subject: block: Do not include linux/fs.h any more glibc 2.36 changed the definition of enum fsconfig_command in sys/mount.h. This definition collides with the same definition from linux/fs.h now. Remove the include of linux/fs.h. This compiles still with musl too. musl and glibc provide the defines linux/fs.h was included for in sys/mount.h since some years. Signed-off-by: Hauke Mehrtens --- block.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/block.c b/block.c index 3773a6e..40c52a0 100644 --- a/block.c +++ b/block.c @@ -33,8 +33,6 @@ #include #include -#include - #include #include -- cgit v1.2.1