fsx.c: Add header file stdbool.h
authorXiao Yang <yangx.jy@cn.fujitsu.com>
Sun, 7 Feb 2016 22:27:14 +0000 (09:27 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 7 Feb 2016 22:27:14 +0000 (09:27 +1100)
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>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
ltp/fsx.c

index 28f109cd14b467e92a2e359efe0d154e8cfb3df7..a7b36c14e1bd46b24054a82f3125133e6e61f4b0 100644 (file)
--- 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