summaryrefslogtreecommitdiff
path: root/package/iproute2/patches/patch-include_iptables_common_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-06 11:11:44 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-06 11:11:44 +0200
commit547b849f5d9d30c02b3783d58779acab7c09d8c1 (patch)
treeea56dca52c251c5d40f17c708f39a775e56492e1 /package/iproute2/patches/patch-include_iptables_common_h
parentdf7df2e0ea84f8722c72a61dcbcd357f572eedc2 (diff)
parentac5970e35e66605d0547bcd0f3ec7f3e177a2bb8 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/iproute2/patches/patch-include_iptables_common_h')
-rw-r--r--package/iproute2/patches/patch-include_iptables_common_h25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/iproute2/patches/patch-include_iptables_common_h b/package/iproute2/patches/patch-include_iptables_common_h
new file mode 100644
index 000000000..d0ca2c0a2
--- /dev/null
+++ b/package/iproute2/patches/patch-include_iptables_common_h
@@ -0,0 +1,25 @@
+--- iproute2-3.12.0.orig/include/iptables_common.h 2013-11-23 02:10:33.000000000 +0100
++++ iproute2-3.12.0/include/iptables_common.h 2014-04-05 05:21:46.946376336 +0200
+@@ -1,5 +1,8 @@
+ #ifndef _IPTABLES_COMMON_H
+ #define _IPTABLES_COMMON_H
++
++#include <stdint.h>
++
+ /* Shared definitions between ipv4 and ipv6. */
+
+ enum exittype {
+@@ -43,9 +46,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
++#define __be32 uint32_t
++#define __le32 uint32_t
++#define __be16 uint16_t
++#define __le16 uint16_t
+
+ #endif /*_IPTABLES_COMMON_H*/