]> www.infradead.org Git - mtd-utils.git/commitdiff
integck: fix build error (MS_DIRSYNC, MS_RELATIME)
authorBrian Norris <computersforpeace@gmail.com>
Fri, 24 Jun 2011 18:03:14 +0000 (11:03 -0700)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sat, 25 Jun 2011 07:02:11 +0000 (10:02 +0300)
Need to include <linux/fs.h>, at least for my build system. Otherwise,
you can't build the 'tests'.

integck.c: In function ‘parse_mount_options’:
integck.c:2862: error: ‘MS_DIRSYNC’ undeclared (first use in this
function)
integck.c:2862: error: (Each undeclared identifier is reported only once
integck.c:2862: error: for each function it appears in.)
integck.c:2872: error: ‘MS_RELATIME’ undeclared (first use in this
function)

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
tests/fs-tests/integrity/integck.c

index 54e5ddc9c9d99f4b3e886b84f02681637c5824c4..30322cdac7507777c5989f3741c3151b065ecd07 100644 (file)
@@ -36,6 +36,7 @@
 #include <sys/vfs.h>
 #include <sys/mount.h>
 #include <sys/statvfs.h>
+#include <linux/fs.h>
 
 #define PROGRAM_VERSION "1.1"
 #define PROGRAM_NAME "integck"