public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fsx.c: Add header file stdbool.h
@ 2016-01-19  8:00 Xiao Yang
  2016-01-21  3:28 ` Eric Sandeen
  0 siblings, 1 reply; 2+ messages in thread
From: Xiao Yang @ 2016-01-19  8:00 UTC (permalink / raw)
  To: fstests; +Cc: Xiao Yang

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




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-21  3:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-19  8:00 [PATCH] fsx.c: Add header file stdbool.h Xiao Yang
2016-01-21  3:28 ` Eric Sandeen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox