From 35802ac01cd5509d7e24488369745c344d67d482 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Thu, 15 Oct 2015 16:01:00 +0200 Subject: [PATCH] platform: fix compilation if we don't have INET6_ADDR_GEN_MODE_* constants As in src/platform/nm-linux-platform.c https://mail.gnome.org/archives/networkmanager-list/2015-October/msg00023.html --- src/platform/nm-platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/nm-platform.c b/src/platform/nm-platform.c index e61315750b..7da3e97be5 100644 --- a/src/platform/nm-platform.c +++ b/src/platform/nm-platform.c @@ -950,7 +950,7 @@ nm_platform_link_get_user_ipv6ll_enabled (NMPlatform *self, int ifindex) g_return_val_if_fail (ifindex >= 0, FALSE); -#if HAVE_LIBNL_INET6_ADDR_GEN_MODE +#if HAVE_LIBNL_INET6_ADDR_GEN_MODE && HAVE_KERNEL_INET6_ADDR_GEN_MODE { const NMPlatformLink *pllink;