btrfs-progs: use linux mount.h instead of sys/mount.h
This file includes linux/fs.h which includes linux/mount.h and with glibc 2.36 linux/mount.h and glibc mount.h are not compatible [1] therefore try to avoid including both headers [1] https://sourceware.org/glibc/wiki/Release/2.36 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
7b6922c988
commit
b4c8b9054d
|
@ -15,7 +15,6 @@
|
|||
*/
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/mount.h>
|
||||
#include <sys/statfs.h>
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
|
|
Loading…
Reference in New Issue