summaryrefslogtreecommitdiff
path: root/package/libnl/patches/patch-lib_addr_c
blob: 7e1622bc4ba988bdc5f29d30db6f42bd0ee7b62f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)