Displaying 1 result from an estimated 1 matches for "74ffceb".
Did you mean:
70fffeb
2012 Sep 12
3
[RFC][PATCH] Btrfs-progs: Fix compiler warnings on PPC64.
.../cmds-scrub.c
index 24be20f..7f6aa68 100644
--- a/cmds-scrub.c
+++ b/cmds-scrub.c
@@ -16,6 +16,8 @@
* Boston, MA 021110-1307, USA.
*/
+#define __KERNEL__
+
#include <sys/ioctl.h>
#include <sys/wait.h>
#include <sys/stat.h>
diff --git a/convert.c b/convert.c
index fa7bf8c..74ffceb 100644
--- a/convert.c
+++ b/convert.c
@@ -18,6 +18,7 @@
#define _XOPEN_SOURCE 600
#define _GNU_SOURCE 1
+#define __KERNEL__
#ifndef __CHECKER__
#include <sys/ioctl.h>
#include <sys/mount.h>
diff --git a/kerncompat.h b/kerncompat.h
index 46236cd..2e571b8 100644
--- a/kerncompat.h...