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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user