16 lines
544 B
Diff
16 lines
544 B
Diff
--- NetworkManager-1.0.8/src/platform/nm-platform.c.orig 2015-11-25 22:06:03.836872636 +0100
|
|
+++ NetworkManager-1.0.8/src/platform/nm-platform.c 2015-11-25 22:07:36.586087286 +0100
|
|
@@ -39,6 +39,12 @@
|
|
#include "nm-enum-types.h"
|
|
#include "nm-core-internal.h"
|
|
|
|
+#if HAVE_LIBNL_INET6_ADDR_GEN_MODE && HAVE_KERNEL_INET6_ADDR_GEN_MODE
|
|
+#include <linux/if_link.h>
|
|
+#else
|
|
+#define IN6_ADDR_GEN_MODE_NONE 1
|
|
+#endif
|
|
+
|
|
#define ADDRESS_LIFETIME_PADDING 5
|
|
|
|
G_STATIC_ASSERT (sizeof ( ((NMPlatformLink *) NULL)->addr.data ) == NM_UTILS_HWADDR_LEN_MAX);
|