From ff15a5e8fbe2e8e7199d84c96d4b2f3c60cb8550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20=C5=A0imerda?= Date: Thu, 24 Jan 2013 20:40:25 +0100 Subject: [PATCH] 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 --- src/nm-netlink-monitor.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/nm-netlink-monitor.c b/src/nm-netlink-monitor.c index 5bbf5002c0..4d0b0c5948 100644 --- a/src/nm-netlink-monitor.c +++ b/src/nm-netlink-monitor.c @@ -38,6 +38,10 @@ #include #include #include +#include +#if LIBNL_VER_NUM == LIBNL_VER (3, 2) && LIBNL_VER_MIC < 20 +#include +#endif #include #include #include