summaryrefslogtreecommitdiffstats
path: root/include/iptables_common.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-10-09 18:00:11 +0000
committerPatrick McHardy <kaber@trash.net>2006-10-09 18:00:11 +0000
commitb34bef5f9ff4ee20cd46df1e26f6d6efe0bb5380 (patch)
tree157b4fce01e66b3ea9863e5ce3e1c65ad74c960e /include/iptables_common.h
parent22e49651dde438e45768d1040d2058d22dd3effd (diff)
Add endian annotation types to fix compilation for kernels > 2.6.18
Diffstat (limited to 'include/iptables_common.h')
-rw-r--r--include/iptables_common.h5
1 files changed, 5 insertions, 0 deletions
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*/