xfstests: ensure uint64_t is defined for <linux/fs.h>
authorAlex Elder <aelder@sgi.com>
Mon, 29 Nov 2010 22:14:00 +0000 (22:14 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 16 Dec 2010 21:52:54 +0000 (15:52 -0600)
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@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
src/fiemap-tester.c

index 138acbf02a17843562b60d56d4c5f392648ef25e..f6875af30b81eed534bde81021446c57cb369f88 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdint.h>
 #include <unistd.h>
 #include <fcntl.h>
 #include <string.h>