summaryrefslogtreecommitdiff
path: root/package/libnl/patches/patch-lib_addr_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-26 14:43:30 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-26 14:43:30 +0200
commitb9651f108b91776e565087dcdc2ac934b3483458 (patch)
treeda6e829c913143f6e7fc77ebf40e16294d865795 /package/libnl/patches/patch-lib_addr_c
parentd08bbc851385b23b0491ceb78546cf0794daf149 (diff)
parentd0cedd6214f7c35b73a22464c8688dbf9eb79f62 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libnl/patches/patch-lib_addr_c')
-rw-r--r--package/libnl/patches/patch-lib_addr_c16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/libnl/patches/patch-lib_addr_c b/package/libnl/patches/patch-lib_addr_c
new file mode 100644
index 000000000..7e1622bc4
--- /dev/null
+++ b/package/libnl/patches/patch-lib_addr_c
@@ -0,0 +1,16 @@
+--- libnl-3.2.22.orig/lib/addr.c 2013-04-05 10:35:44.000000000 +0200
++++ libnl-3.2.22/lib/addr.c 2013-09-26 11:13:50.000000000 +0200
+@@ -33,6 +33,13 @@
+ #include <netlink/addr.h>
+ #include <linux/socket.h>
+
++#ifndef PF_RDS
++#define PF_RDS 21
++#endif
++#ifndef AF_RDS
++#define AF_RDS PF_RDS
++#endif
++
+ /* All this DECnet stuff is stolen from iproute2, thanks to whoever wrote
+ * this, probably Alexey. */
+ static inline uint16_t dn_ntohs(uint16_t addr)