projects
/
platform
/
upstream
/
btrfs-progs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
btrfs-progs: image: introduce symbolic names for the sanitization modes
[platform/upstream/btrfs-progs.git]
/
ioctl.h
diff --git
a/ioctl.h
b/ioctl.h
index
238e7ef
..
709e996
100644
(file)
--- a/
ioctl.h
+++ b/
ioctl.h
@@
-25,11
+25,17
@@
extern "C" {
#include <asm/types.h>
#include <linux/ioctl.h>
#include <asm/types.h>
#include <linux/ioctl.h>
+#include <stddef.h>
#ifndef __user
#define __user
#endif
#ifndef __user
#define __user
#endif
+/* We don't want to include entire kerncompat.h */
+#ifndef BUILD_ASSERT
+#define BUILD_ASSERT(x)
+#endif
+
#define BTRFS_IOCTL_MAGIC 0x94
#define BTRFS_VOL_NAME_MAX 255
#define BTRFS_IOCTL_MAGIC 0x94
#define BTRFS_VOL_NAME_MAX 255