datapath: Check for backported __wsum and __sum16.
[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 #ifndef HAVE_CSUM_TYPES
7 typedef __u16 __bitwise __sum16;
8 typedef __u32 __bitwise __wsum;
9 #endif
10
11 #ifndef HAVE_BOOL_TYPE
12 typedef _Bool bool;
13 #endif /* !HAVE_BOOL_TYPE */
14
15 #endif