NetworkManager/src/ndisc
Thomas Haller aa7acb0ae3 build: avoid header conflict for <linux/if.h> and <net/if.h> with "nm-platform.h"
In the past, the headers "linux/if.h" and "net/if.h" were incompatible.
That means, we can either include one or the other, but not both.
This is fixed in the meantime, however the issue still exists when
building against older kernel/glibc.

That means, including one of these headers from a header file
is problematic. In particular if it's a header like "nm-platform.h",
which itself is dragged in by many other headers.

Avoid that by not including these headers from "platform.h", but instead
from the source files where needed (or possibly from less popular header
files).

Currently there is no problem. However, this allows an unknowing user to
include <net/if.h> at the same time with "nm-platform.h", which is easy
to get wrong.

(cherry picked from commit 37e47fbdab)
2018-11-14 14:39:10 +01:00
..
tests meson: Fix platform tests 2018-10-22 13:25:50 +02:00
nm-fake-ndisc.c ndisc: fix updating address lifetime on Router Announcement according to RFC4862 2018-10-13 17:39:15 +02:00
nm-fake-ndisc.h ndisc: rename NMNDiscPreference to NMIcmpv6RouterPref 2017-10-12 10:27:27 +02:00
nm-lndp-ndisc.c ndisc: mark a keep-alive variable unused 2018-10-22 18:24:36 +02:00
nm-lndp-ndisc.h ndisc/lndp: add ability to announce the managed IPv6 configuration 2016-11-09 17:23:32 +01:00
nm-ndisc-private.h ndisc: fix updating address lifetime on Router Announcement according to RFC4862 2018-10-13 17:39:15 +02:00
nm-ndisc.c ndisc: don't update dad_counter for addresses in router config 2018-10-13 17:39:15 +02:00
nm-ndisc.h build: avoid header conflict for <linux/if.h> and <net/if.h> with "nm-platform.h" 2018-11-14 14:39:10 +01:00