NetworkManager/src/tests
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
..
config device: add "dhcp-plugin" match spec for device 2018-11-14 12:38:05 +01:00
meson.build all: replace systemd's siphash24 with c-siphash 2018-05-31 15:59:38 +02:00
test-dcb.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
test-general-with-expect.c all: remove CLOCK_BOOTTIME defintions 2018-06-18 17:21:32 +02:00
test-general.c all: add "${MAC}" substituion for "connection.stable-id" 2018-11-14 14:18:06 +01:00
test-ip4-config.c core: reject invalid domains from ip configurations 2018-05-14 15:22:50 +02:00
test-ip6-config.c build: avoid header conflict for <linux/if.h> and <net/if.h> with "nm-platform.h" 2018-11-14 14:39:10 +01:00
test-secret-agent.py python: make test-secret-agent.py python3 ready 2016-12-14 19:00:42 +01:00
test-systemd.c core: add "nm-sd-utils.h" to access system internal helper 2018-11-14 14:17:34 +01:00
test-utils.c core: add assertions for network_id/stable_type 2017-01-09 14:50:33 +01:00
test-wired-defname.c settings: use delegation instead of inheritance for NMSettingsConnection and NMConnection 2018-08-28 22:27:55 +02:00