Displaying 1 result from an estimated 1 matches for "24be20f".
2012 Sep 12
3
[RFC][PATCH] Btrfs-progs: Fix compiler warnings on PPC64.
...eive.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 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/conver...