fsstress: Include stddef.h for ptrdiff_t
authorRostislav Skudnov <rostislav@tuxera.com>
Mon, 22 Jan 2018 15:57:12 +0000 (15:57 +0000)
committerEryu 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

index 4dea0294fa524e67d80355ce499a20d53563957a..63c2eb4b17267fa221bb252dc929368f56898710 100644 (file)
@@ -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