[PATCH fstools 2/2] block: Do not include linux/fs.h any more
Hauke Mehrtens
hauke at hauke-m.de
Sun Aug 7 10:02:04 PDT 2022
glibc 2.36 changed the definition of enum fsconfig_command, it now
collides with the same definition from sys/mount.h. Remove the include
of linux/fs.h This still compiled with musl too.
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
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 <sys/wait.h>
#include <sys/sysmacros.h>
-#include <linux/fs.h>
-
#include <uci.h>
#include <uci_blob.h>
--
2.30.2
More information about the openwrt-devel
mailing list