]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
linux.h: include <linux/fs.h>
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Jun 2016 01:04:15 +0000 (11:04 +1000)
committerDave Chinner <david@fromorbit.com>
Fri, 3 Jun 2016 01:04:15 +0000 (11:04 +1000)
To reliably prevent the redefinition of struct fsxattr.

Reported-by: Jeffrey Bastian <jbastian@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
include/linux.h

index cc0f70ceed72406822885d878b939b3e66c03ffd..0c616f4fc3758c281bb7605323638dbf9278c333 100644 (file)
@@ -32,6 +32,7 @@
 #include <stdio.h>
 #include <asm/types.h>
 #include <mntent.h>
+#include <linux/fs.h> /* fsxattr defintion for new kernels */
 
 static __inline__ int xfsctl(const char *path, int fd, int cmd, void *p)
 {