summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ioctl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ioctl.h b/ioctl.h
index 238e7ef1..cdfb8882 100644
--- a/ioctl.h
+++ b/ioctl.h
@@ -30,6 +30,11 @@ extern "C" {
#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