diff options
author | Rostislav Skudnov <rostislav@tuxera.com> | 2018-01-22 15:57:12 +0000 |
---|---|---|
committer | Eryu Guan <eguan@redhat.com> | 2018-01-24 11:48:51 +0800 |
commit | 8c0fc542ed515ac7b80d518d0311d0bfa0cf7c27 (patch) | |
tree | 6a1bed8461fd5909760dd948cbaa580687039c80 | |
parent | 8ebb071eb8a578abcbf7fbe90c88164fcf1073e1 (diff) | |
download | xfstests-dev-8c0fc542ed515ac7b80d518d0311d0bfa0cf7c27.tar.gz |
fsstress: Include stddef.h for ptrdiff_t
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>
-rw-r--r-- | ltp/fsstress.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ltp/fsstress.c b/ltp/fsstress.c index 4dea0294fa..63c2eb4b17 100644 --- 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 |