1 --- netfilter/iptcrdr.c.old 2010-02-24 14:22:23.000000000 +0100
2 +++ netfilter/iptcrdr.c 2010-02-24 14:48:00.000000000 +0100
6 /* IPTABLES API version >= 1.4.3 */
8 +#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
9 +#define __must_be_array(a) \
10 + BUILD_BUG_ON_ZERO(__builtin_types_compatible_p(typeof(a), typeof(&a[0])))
11 +#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
12 +#define LIST_POISON2 ((void *) 0x00200200 )
14 #include <net/netfilter/nf_nat.h>
15 #define ip_nat_multi_range nf_nat_multi_range
16 #define ip_nat_range nf_nat_range