NetworkManager/clients/cli
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
..
agent.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
common.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
common.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
connections.c all: remove unnecessary <netinet/ether.h> includes 2020-12-13 16:56:51 +01:00
connections.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
devices.c all: explicit include <linux/if_{ether,infiniband,vlan}.h> as needed 2020-12-22 16:33:33 +01:00
devices.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
general.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
generate-docs-nm-settings-nmcli.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
generate-docs-nm-settings-nmcli.xml.in veth: add support to configure veth interfaces 2020-11-27 10:12:36 +01:00
meson.build build: rename "tools/check-settings-docs.sh" to "check-compare-generated.sh" 2020-11-03 15:41:39 +01:00
nmcli-completion cli: make nmcli do its own command completion 2017-02-13 16:32:15 +01:00
nmcli.c cli: introduce NmcColorPalette struct instead of plain array 2020-10-09 09:52:10 +02:00
nmcli.h cli: introduce NmcColorPalette struct instead of plain array 2020-10-09 09:52:10 +02:00
polkit-agent.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
polkit-agent.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
settings.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
settings.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
utils.c cli: introduce NmcColorPalette struct instead of plain array 2020-10-09 09:52:10 +02:00
utils.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00