projects
/
xfstests-dev.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
115b41c
)
fsx.c: Add header file stdbool.h
author
Xiao Yang
<yangx.jy@cn.fujitsu.com>
Sun, 7 Feb 2016 22:27:14 +0000
(09:27 +1100)
committer
Dave 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
patch
|
blob
|
history
diff --git
a/ltp/fsx.c
b/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