mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-21 14:30:07 +01:00
netlink: workaround to build against libnl3 < 3.2.20
Commit 418a428 fixed building against libnl3 >= 3.2.20 but due to a bug
in libnl it also prevents building against libnl3 < 3.2.20.
See https://bugzilla.gnome.org/show_bug.cgi?id=692423
This commit is contained in:
parent
1495853e01
commit
ff15a5e8fb
1 changed files with 4 additions and 0 deletions
|
|
@ -38,6 +38,10 @@
|
|||
#include <linux/if.h>
|
||||
#include <linux/unistd.h>
|
||||
#include <unistd.h>
|
||||
#include <netlink/version.h>
|
||||
#if LIBNL_VER_NUM == LIBNL_VER (3, 2) && LIBNL_VER_MIC < 20
|
||||
#include <netlink/object-api.h>
|
||||
#endif
|
||||
#include <netlink/object.h>
|
||||
#include <netlink/route/addr.h>
|
||||
#include <netlink/route/rtnl.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue