summaryrefslogtreecommitdiff
path: root/kerncompat.h
diff options
context:
space:
mode:
Diffstat (limited to 'kerncompat.h')
-rw-r--r--kerncompat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kerncompat.h b/kerncompat.h
index 520bc9e0..8afadc88 100644
--- a/kerncompat.h
+++ b/kerncompat.h
@@ -345,6 +345,11 @@ struct __una_u64 { __le64 x; } __attribute__((__packed__));
#define put_unaligned_le64(val,p) (((struct __una_u64 *)(p))->x = cpu_to_le64(val))
#endif
+#ifndef true
+#define true 1
+#define false 0
+#endif
+
#ifndef noinline
#define noinline
#endif