NetworkManager/libnm-core/tests
Thomas Haller 0fca809bfd
all: explicit include <linux/if_{ether,infiniband,vlan}.h> as needed
Currently libnm headers include <linux/if_{ether,infiniband,vlan}.h>.
These are public headers, that means we drag in the linux header to all
users of <NetworkManager.h>.

Often the linux headers work badly together with certain headers from libc.
Depending on the libc version, you have to order linux headers in the right
order with respect to libc headers.

We should do better about libnm headers. As a first step, assume that
the linux headers don't get included by libnm, and explicitly include
them where they are needed.
2020-12-22 16:33:33 +01:00
..
certs libnm/crypto: accept TPM2-wrapped PEM keys 2019-07-10 17:31:48 +02:00
meson.build libnm: with meson include "nm-default.h" for glib-mkenums sources 2020-11-03 15:39:01 +01:00
nm-core-tests-enum-types.c.template build: use template files for enum types' sources generation 2017-12-18 11:25:06 +01:00
nm-core-tests-enum-types.h.template build: use template files for enum types' sources generation 2017-12-18 11:25:06 +01:00
test-compare.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
test-crypto.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
test-general-enums.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
test-general.c all: explicit include <linux/if_{ether,infiniband,vlan}.h> as needed 2020-12-22 16:33:33 +01:00
test-keyfile.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
test-secrets.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
test-setting.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
test-settings-defaults.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00