d88baf71ce9ffca51d62ccaedf9e3e0332e712aa
[sliver-openvswitch.git] / datapath / linux-2.6 / compat-2.6 / include / linux / types.h
1 #ifndef __LINUX_TYPES_WRAPPER_H
2 #define __LINUX_TYPES_WRAPPER_H 1
3
4 #include_next <linux/types.h>
5
6 #include <linux/version.h>
7 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)
8
9 typedef __u16 __bitwise __sum16;
10 typedef __u32 __bitwise __wsum;
11
12 #endif /* linux kernel < 2.6.20 */
13
14 #ifndef HAVE_BOOL_TYPE
15 typedef _Bool bool;
16 #endif /* !HAVE_BOOL_TYPE */
17
18 #endif