[PATCH] xfstests: ensure uint64_t is defined for <linux/fs.h>

Alex Elder aelder at sgi.com
Mon Nov 29 16:14:00 CST 2010


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 <aelder at sgi.com>

---
 src/fiemap-tester.c |    1 +
 1 file changed, 1 insertion(+)

Index: b/src/fiemap-tester.c
===================================================================
--- a/src/fiemap-tester.c
+++ b/src/fiemap-tester.c
@@ -18,6 +18,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdint.h>
 #include <unistd.h>
 #include <fcntl.h>
 #include <string.h>





More information about the xfs mailing list