projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: Support CHECKSUM_PARTIAL on older kernels.
[openvswitch]
/
datapath
/
linux-2.6
/
compat-2.6
/
include
/
linux
/
types.h
diff --git
a/datapath/linux-2.6/compat-2.6/include/linux/types.h
b/datapath/linux-2.6/compat-2.6/include/linux/types.h
index c1f375eb308cf71abd0e72e6ca3846fc1b5eda88..d88baf71ce9ffca51d62ccaedf9e3e0332e712aa 100644
(file)
--- a/
datapath/linux-2.6/compat-2.6/include/linux/types.h
+++ b/
datapath/linux-2.6/compat-2.6/include/linux/types.h
@@
-11,4
+11,8
@@
typedef __u32 __bitwise __wsum;
#endif /* linux kernel < 2.6.20 */
+#ifndef HAVE_BOOL_TYPE
+typedef _Bool bool;
+#endif /* !HAVE_BOOL_TYPE */
+
#endif