Patrick McHardy wrote:
Marco Berizzi wrote: > Pablo Neira Ayuso wrote: > >> Pablo Neira Ayuso wrote: >> >>> Patrick McHardy wrote: >>> >>>> Pablo Neira Ayuso wrote: >>>> >>>>> min_ip and max_ip type has been changed from u_int32_t to __be32 >>>>> that is >>>>> not defined in userspace, this breaks iptables compilation. > > > I'm able to compile iptables 1.3.6 with 2.6.18 kernel > headers without any errors. > However iptables 1.3.6 + linux 2.6.19-rc1 kernel > headers give me this error: Does the patch I just sent fix it?
Yes, now I'm able to compile iptables 1.3.6 with 2.6.19-rc1 kernel headers with your patch: Index: include/iptables_common.h =================================================================== --- include/iptables_common.h (Revision 6660) +++ include/iptables_common.h (Arbeitskopie) @@ -42,4 +42,9 @@ extern void init_extensions(void); #endif +#define __be32 u_int32_t +#define __le32 u_int32_t +#define __be16 u_int16_t +#define __le16 u_int16_t + #endif /*_IPTABLES_COMMON_H*/