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:
8ebb071
)
fsstress: Include stddef.h for ptrdiff_t
author
Rostislav Skudnov
<rostislav@tuxera.com>
Mon, 22 Jan 2018 15:57:12 +0000
(15:57 +0000)
committer
Eryu Guan
<eguan@redhat.com>
Wed, 24 Jan 2018 03:48:51 +0000
(11:48 +0800)
In musl C library headers ptrdiff_t is only defined in stddef.h.
Signed-off-by: Rostislav Skudnov <rostislav@tuxera.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <eguan@redhat.com>
ltp/fsstress.c
patch
|
blob
|
history
diff --git
a/ltp/fsstress.c
b/ltp/fsstress.c
index 4dea0294fa524e67d80355ce499a20d53563957a..63c2eb4b17267fa221bb252dc929368f56898710 100644
(file)
--- a/
ltp/fsstress.c
+++ b/
ltp/fsstress.c
@@
-19,6
+19,7
@@
#include <linux/fs.h>
#include <setjmp.h>
#include <sys/uio.h>
+#include <stddef.h>
#include "global.h"
#ifdef HAVE_ATTR_XATTR_H