diff options
| author | Hauke Mehrtens | 2022-08-07 14:45:30 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2022-08-13 12:17:36 +0000 |
| commit | 81785c1b9a9c1b797e7406a3542c01d972c61315 (patch) | |
| tree | a2ea2746ec3e918768aed13e234c660226a00549 | |
| parent | 8c213b0416b1a9411725f3c138d6c8b60032fd2b (diff) | |
| download | fstools-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.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -33,8 +33,6 @@ #include <sys/wait.h> #include <sys/sysmacros.h> -#include <linux/fs.h> - #include <uci.h> #include <uci_blob.h> |