xfs
[Top] [All Lists]

[PATCH 2/2] linux.h: include <linux/fs.h>

To: xfs@xxxxxxxxxxx
Subject: [PATCH 2/2] linux.h: include <linux/fs.h>
From: Christoph Hellwig <hch@xxxxxx>
Date: Mon, 23 May 2016 17:03:56 +0200
Cc: jbastian@xxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1464015836-25127-1-git-send-email-hch@xxxxxx>
References: <1464015836-25127-1-git-send-email-hch@xxxxxx>
To reliably prevent the redefinition of struct fsxattr.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Reported-by: Jeffrey Bastian <jbastian@xxxxxxxxxx>
---
 include/linux.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux.h b/include/linux.h
index cc0f70c..0c616f4 100644
--- a/include/linux.h
+++ b/include/linux.h
@@ -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)
 {
-- 
2.1.4

<Prev in Thread] Current Thread [Next in Thread>