NetworkManager/clients
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
..
cli all: explicit include <linux/if_{ether,infiniband,vlan}.h> as needed 2020-12-22 16:33:33 +01:00
cloud-setup all: explicit include <linux/if_{ether,infiniband,vlan}.h> as needed 2020-12-22 16:33:33 +01:00
common all: explicit include <linux/if_{ether,infiniband,vlan}.h> as needed 2020-12-22 16:33:33 +01:00
tests Correct python black rules 2020-10-29 09:35:10 +01:00
tui all: explicit include <linux/if_{ether,infiniband,vlan}.h> as needed 2020-12-22 16:33:33 +01:00
meson.build docs: generate nm-settings-docs-nmcli.xml based on nmcli meta data 2020-06-11 10:53:50 +02:00
nm-online.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00