X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Flinux-2.6%2Fcompat-2.6%2Finclude%2Flinux%2Ftypes.h;fp=datapath%2Flinux-2.6%2Fcompat-2.6%2Finclude%2Flinux%2Ftypes.h;h=b989d96c38ef18dccf0fee557d89484e185bdd23;hb=e215ebca67720188724344eb198c5045c02e375f;hp=d88baf71ce9ffca51d62ccaedf9e3e0332e712aa;hpb=82e959195414246dece1e4c636b40d06d65211a7;p=sliver-openvswitch.git 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 d88baf71c..b989d96c3 100644 --- a/datapath/linux-2.6/compat-2.6/include/linux/types.h +++ b/datapath/linux-2.6/compat-2.6/include/linux/types.h @@ -3,13 +3,10 @@ #include_next -#include -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20) - +#ifndef HAVE_CSUM_TYPES typedef __u16 __bitwise __sum16; typedef __u32 __bitwise __wsum; - -#endif /* linux kernel < 2.6.20 */ +#endif #ifndef HAVE_BOOL_TYPE typedef _Bool bool;