xfs
[Top] [All Lists]

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

To: XFS Mailing List <xfs@xxxxxxxxxxx>
Subject: [PATCH] xfstests: ensure uint64_t is defined for <linux/fs.h>
From: Alex Elder <aelder@xxxxxxx>
Date: Mon, 29 Nov 2010 16:14:00 -0600
Reply-to: aelder@xxxxxxx
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@xxxxxxx>

---
 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>


<Prev in Thread] Current Thread [Next in Thread>