From: Patrick McHardy Date: Mon, 9 Oct 2006 18:00:11 +0000 (+0000) Subject: Add endian annotation types to fix compilation for kernels > 2.6.18 X-Git-Tag: v1.3.7~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b34bef5f9ff4ee20cd46df1e26f6d6efe0bb5380;p=thirdparty%2Fiptables.git Add endian annotation types to fix compilation for kernels > 2.6.18 --- diff --git a/include/iptables_common.h b/include/iptables_common.h index e214d1fd..05516ac0 100644 --- a/include/iptables_common.h +++ b/include/iptables_common.h @@ -42,4 +42,9 @@ extern char *lib_dir; 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*/