aboutsummaryrefslogtreecommitdiff
path: root/sys/ofed/include/linux
diff options
context:
space:
mode:
authorMatthew D Fleming <mdf@FreeBSD.org>2011-12-12 18:43:24 +0000
committerMatthew D Fleming <mdf@FreeBSD.org>2011-12-12 18:43:24 +0000
commit103af58f59c0cb69f1872cbebeb4213d4020e4b9 (patch)
treea27d87407eb9eb2b783545e6822eca1cb5274b39 /sys/ofed/include/linux
parente5587e2e031d8fe6255bf3c4eaff74c23fb62dc3 (diff)
Notes
Diffstat (limited to 'sys/ofed/include/linux')
-rw-r--r--sys/ofed/include/linux/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ofed/include/linux/types.h b/sys/ofed/include/linux/types.h
index 496d6f98a801..331c8b6a5503 100644
--- a/sys/ofed/include/linux/types.h
+++ b/sys/ofed/include/linux/types.h
@@ -39,9 +39,11 @@ typedef __u32 __le32;
typedef __u32 __be32;
typedef __u64 __le64;
typedef __u64 __be64;
+#ifndef __bool_true_false_are_defined
typedef _Bool bool;
#define true TRUE
#define false FALSE
+#endif
typedef unsigned long kernel_ulong_t;
typedef unsigned int uint;