From ab1e672a2115612f12c3ac471eeda89cd9065bfb Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 18 Oct 2017 15:36:36 +0200 Subject: [PATCH] dhcp: include "nm-dhcp-manager.h" in "nm-dhcp-listener.c" "nm-dhcp-manager.h" forward declares _nm_dhcp_manager_factories. We need to make the definition aware of the declaration, so that the compiler can warn if they differ. --- src/dhcp/nm-dhcp-listener.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dhcp/nm-dhcp-listener.c b/src/dhcp/nm-dhcp-listener.c index 410e0c9d45..3385415733 100644 --- a/src/dhcp/nm-dhcp-listener.c +++ b/src/dhcp/nm-dhcp-listener.c @@ -31,6 +31,7 @@ #include "nm-dhcp-helper-api.h" #include "nm-dhcp-client.h" +#include "nm-dhcp-manager.h" #include "nm-core-internal.h" #include "nm-bus-manager.h" #include "NetworkManagerUtils.h"