systemd: don't include "nm-sd-adapt.h" in systemd header files

The header files are not compiled directly, but always included while compiling
other source files. We already require every source file to include "nm-sd-adapt.h"
as first, thus we don't need the include in the headers too.
This commit is contained in:
Thomas Haller
2016-02-28 11:38:51 +01:00
parent ce4b1dc891
commit bf29d02ac1
62 changed files with 5 additions and 120 deletions

View File

@@ -36,6 +36,9 @@
#include "sd-dhcp-client.h"
#include "sd-dhcp6-client.h"
/* we use a private systemd header, thus need to include nm-sd-adapt.h. */
#include "nm-sd-adapt.h"
#include "dhcp-lease-internal.h"
G_DEFINE_TYPE (NMDhcpSystemd, nm_dhcp_systemd, NM_TYPE_DHCP_CLIENT)