]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Add endian annotation types to fix compilation for kernels > 2.6.18
authorPatrick McHardy <kaber@trash.net>
Mon, 9 Oct 2006 18:00:11 +0000 (18:00 +0000)
committerPatrick McHardy <kaber@trash.net>
Mon, 9 Oct 2006 18:00:11 +0000 (18:00 +0000)
include/iptables_common.h

index e214d1fd002a274e385513434c56b79ced81c741..05516ac0f79b8000c9c22918dc6e2419e524eef4 100644 (file)
@@ -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*/