summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2022-08-07 16:45:30 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-08-13 14:17:36 +0200
commit81785c1b9a9c1b797e7406a3542c01d972c61315 (patch)
treea2ea2746ec3e918768aed13e234c660226a00549
parent8c213b0416b1a9411725f3c138d6c8b60032fd2b (diff)
downloadfstools-81785c1b9a9c1b797e7406a3542c01d972c61315.tar.gz
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 <hauke@hauke-m.de>
-rw-r--r--block.c2
1 files changed, 0 insertions, 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 <sys/wait.h>
#include <sys/sysmacros.h>
-#include <linux/fs.h>
-
#include <uci.h>
#include <uci_blob.h>