[PATCH 06/10] xfsprogs: use <>-style includes in installed headers
Christoph Hellwig
hch at lst.de
Sun Jul 26 11:13:25 CDT 2015
Once installed these are system headers, so we need to use <>-style include
statements between them.
Signed-off-by: Christoph Hellwig <hch at lst.de>
---
include/platform_defs.h.in | 10 +++++-----
include/xfs.h | 6 +++---
include/xqm.h | 2 +-
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/include/platform_defs.h.in b/include/platform_defs.h.in
index 9a1782c..529c0a6 100644
--- a/include/platform_defs.h.in
+++ b/include/platform_defs.h.in
@@ -69,15 +69,15 @@ typedef __u64 __bitwise __be64;
typedef struct filldir filldir_t;
#if defined(__linux__)
-#include "xfs/linux.h"
+#include <xfs/linux.h>
#elif defined(__FreeBSD__)
-#include "xfs/freebsd.h"
+#include <xfs/freebsd.h>
#elif defined(__FreeBSD_kernel__)
-#include "xfs/gnukfreebsd.h"
+#include <xfs/gnukfreebsd.h>
#elif defined(__APPLE__)
-#include "xfs/darwin.h"
+#include <xfs/darwin.h>
#elif defined(__sgi__) || defined(__sgi)
-#include "xfs/irix.h"
+#include <xfs/irix.h>
#else
# error unknown platform... have fun porting!
#endif
diff --git a/include/xfs.h b/include/xfs.h
index 0cb4fb8..e32c4a8 100644
--- a/include/xfs.h
+++ b/include/xfs.h
@@ -33,8 +33,8 @@
#ifndef __XFS_H__
#define __XFS_H__
-#include "xfs/platform_defs.h"
-#include "xfs/xfs_types.h"
-#include "xfs/xfs_fs.h"
+#include <xfs/platform_defs.h>
+#include <xfs/xfs_types.h>
+#include <xfs/xfs_fs.h>
#endif /* __XFS_H__ */
diff --git a/include/xqm.h b/include/xqm.h
index 0b5dfa1..47f58a0 100644
--- a/include/xqm.h
+++ b/include/xqm.h
@@ -18,7 +18,7 @@
#ifndef __XQM_H__
#define __XQM_H__
-#include "xfs/xfs.h"
+#include <xfs/xfs.h>
/*
* Disk quota - quotactl(2) commands for the XFS Quota Manager (XQM).
--
1.9.1
More information about the xfs
mailing list