NetworkManager/libnm-core/nm-keyfile
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
..
nm-keyfile-internal.h keyfile: expose keyfile handling in libnm as public API 2020-10-28 14:30:49 +01:00
nm-keyfile-utils.c libnm: add "nm-keyfile.h" header 2020-10-28 14:30:48 +01:00
nm-keyfile-utils.h keyfile: relicense the code under LGPL-2.1+ 2020-10-20 21:02:47 +02:00
nm-keyfile.c all: explicit include <linux/if_{ether,infiniband,vlan}.h> as needed 2020-12-22 16:33:33 +01:00