From: Eric Sandeen <sandeen@xxxxxxxxxx> MS_* (MS_NOSUID ... etc) get redefined. Fix this by simply removing the inclusion of mount.h, which isn't needed. Fixes sparse warnings about this. Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx> Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx> --- io/label.c | 1 - libfrog/linux.c | 1 - 2 files changed, 2 deletions(-) diff --git a/io/label.c b/io/label.c index df6ac36..602ece8 100644 --- a/io/label.c +++ b/io/label.c @@ -4,7 +4,6 @@ */ #include <sys/ioctl.h> -#include <sys/mount.h> #include "platform_defs.h" #include "libxfs.h" #include "path.h" diff --git a/libfrog/linux.c b/libfrog/linux.c index 2af2675..46f15d6 100644 --- a/libfrog/linux.c +++ b/libfrog/linux.c @@ -6,7 +6,6 @@ #include <mntent.h> #include <sys/stat.h> -#include <sys/mount.h> #include <sys/ioctl.h> #include <sys/sysinfo.h> -- 1.8.3.1