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:
Khem Raj 2022-07-25 11:58:35 -07:00 committed by David Sterba
parent 7b6922c988
commit b4c8b9054d
1 changed files with 0 additions and 1 deletions

View File

@ -15,7 +15,6 @@
*/
#include <sys/ioctl.h>
#include <sys/mount.h>
#include <sys/statfs.h>
#include <sys/types.h>
#include <stdio.h>