Displaying 1 result from an estimated 1 matches for "a8be6fa".
2012 Sep 12
3
[RFC][PATCH] Btrfs-progs: Fix compiler warnings on PPC64.
...Signed-off-by: Wade Cline <clinew@linux.vnet.ibm.com>
---
cmds-receive.c | 1 +
cmds-scrub.c | 2 ++
convert.c | 1 +
kerncompat.h | 6 ++++++
mkfs.c | 1 +
5 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/cmds-receive.c b/cmds-receive.c
index a8be6fa..6cb51fe 100644
--- a/cmds-receive.c
+++ b/cmds-receive.c
@@ -20,6 +20,7 @@
#define _POSIX_C_SOURCE 200809
#define _XOPEN_SOURCE 700
#define _BSD_SOURCE
+#define __KERNEL__
#include <unistd.h>
#include <stdint.h>
diff --git a/cmds-scrub.c b/cmds-scrub.c
index 24be20f..7f6aa68 100...