xfstests: ensure uint64_t is defined for <linux/fs.h>
PATCH 1/1 xfstests: ensure uint64_t is defined for <linux/fs.h>
When compiling "fiemap-tester.c" in my environment, I am getting complaints at the first reference to "uint64_t" in <linux/fs.h>. This simple patch resolves that.
Signed-off-by Alex Elder <[email protected]>
--- src/fiemap-tester.c | 1 + 1 file changed, 1 insertion(+)
src/fiemap-tester.c +1 -0
@@ -18,6 +18,7 @@#include <stdio.h> #include <stdlib.h> +#include <stdint.h> #include <unistd.h> #include <fcntl.h> #include <string.h>
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 5 lines · Alex Elder
When compiling "
fiemap-tester.c" in my environment, I am getting complaints at the first reference to "uint64_t" in <linux/fs.h>. This simple patch resolves that.Signed-off-by Alex Elder <[email protected]>
This should be fixed again by newer kernels, but given that the fix is entirely harmless I'm fine with it.
Reviewed-by Christoph Hellwig <[email protected]>
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs