mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-09 04:48:10 +02:00
core: fix builds with libnl2
This commit is contained in:
parent
a6b18d746a
commit
7956d661ee
1 changed files with 9 additions and 0 deletions
|
|
@ -62,6 +62,15 @@ __rtnl_link_alloc_cache (struct nl_sock *h, struct nl_cache **cache)
|
||||||
#define rtnl_link_alloc_cache __rtnl_link_alloc_cache
|
#define rtnl_link_alloc_cache __rtnl_link_alloc_cache
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/* libnl-2.0 compat functions */
|
||||||
|
#ifdef HAVE_LIBNL2
|
||||||
|
|
||||||
|
/* functions with similar prototypes */
|
||||||
|
#define nlmsg_datalen nlmsg_len
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* libnl-1.0 compat functions */
|
/* libnl-1.0 compat functions */
|
||||||
#ifdef HAVE_LIBNL1
|
#ifdef HAVE_LIBNL1
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue