From 4621a855b2e35f14ee3310052fffe100203c301d Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 21 Mar 2014 15:54:48 +0000 Subject: libnl-tiny: ensure compatibility to libnl version 3 and higher To be prepared to support keepalived 1.2.10 and higher we need libnl3 or higher. The attached patch add some defines so that it can be build be libnl-tiny. Patch by Thomas Heil Signed-off-by: Felix Fietkau SVN-Revision: 39991 --- package/libs/libnl-tiny/src/include/netlink/errno.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'package/libs/libnl-tiny/src/include/netlink/errno.h') diff --git a/package/libs/libnl-tiny/src/include/netlink/errno.h b/package/libs/libnl-tiny/src/include/netlink/errno.h index 0b43da0..f8b5130 100644 --- a/package/libs/libnl-tiny/src/include/netlink/errno.h +++ b/package/libs/libnl-tiny/src/include/netlink/errno.h @@ -45,8 +45,13 @@ extern "C" { #define NLE_PROTO_MISMATCH 26 #define NLE_NOACCESS 27 #define NLE_PERM 28 +#define NLE_PKTLOC_FILE 29 +#define NLE_PARSE_ERR 30 +#define NLE_NODEV 31 +#define NLE_IMMUTABLE 32 +#define NLE_DUMP_INTR 33 -#define NLE_MAX NLE_PERM +#define NLE_MAX NLE_DUMP_INTR extern const char * nl_geterror(int); extern void nl_perror(int, const char *); -- cgit v1.1