[PATCH] fsx.c: Add header file stdbool.h

Xiao Yang
2016-01-19T08:01:14Z

Compilation failed on RHEL6.7GA because stdbool.h is not included in
xfs/platform_defs-x86_64.h or xfs/linux.h on RHEL6.7GA, so fix it.

Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
---
ltp/fsx.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/ltp/fsx.c b/ltp/fsx.c
index 28f109c..a7b36c1 100644
--- a/ltp/fsx.c
+++ b/ltp/fsx.c
@@ -20,6 +20,7 @@
#include <strings.h>
#include <sys/file.h>
#include <sys/mman.h>
+#include <stdbool.h>
#ifdef HAVE_ERR_H
#include <err.h>
#endif
--
1.8.3.1