1
0

patch-lib_addr_c 455 B

12345678910111213141516
  1. --- libnl-3.2.22.orig/lib/addr.c 2013-04-05 10:35:44.000000000 +0200
  2. +++ libnl-3.2.22/lib/addr.c 2013-09-26 11:13:50.000000000 +0200
  3. @@ -33,6 +33,13 @@
  4. #include <netlink/addr.h>
  5. #include <linux/socket.h>
  6. +#ifndef PF_RDS
  7. +#define PF_RDS 21
  8. +#endif
  9. +#ifndef AF_RDS
  10. +#define AF_RDS PF_RDS
  11. +#endif
  12. +
  13. /* All this DECnet stuff is stolen from iproute2, thanks to whoever wrote
  14. * this, probably Alexey. */
  15. static inline uint16_t dn_ntohs(uint16_t addr)