diff options
author | Thomas Haller <thaller@redhat.com> | 2014-08-28 19:17:07 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-11-07 15:19:05 +0100 |
commit | c52e33101436bfd5cabffdc01947b6850616a7c1 (patch) | |
tree | ee955b99da4ebf0a1dd4631c8826ba28ac3cba2f /src/dhcp-manager | |
parent | c2628193607ccf6f8fb162f8459ccbb815c5cd86 (diff) | |
download | NetworkManager-c52e33101436bfd5cabffdc01947b6850616a7c1.tar.gz |
core: move definition of NMLinkType to nm-types.h
As we use NMLinkType in NetworkManagerUtils.h, we cannot use
the utils header without nm-platform.h. That is clearly wrong.
Apparently NMLinkType has a wider use outside of platform (and
its name is not prefixed with 'platform' either).
Move the enum definition to nm-types.h.
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'src/dhcp-manager')
-rw-r--r-- | src/dhcp-manager/nm-dhcp-systemd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dhcp-manager/nm-dhcp-systemd.c b/src/dhcp-manager/nm-dhcp-systemd.c index 363c87f870..18b7b32180 100644 --- a/src/dhcp-manager/nm-dhcp-systemd.c +++ b/src/dhcp-manager/nm-dhcp-systemd.c @@ -37,6 +37,7 @@ #include "nm-dhcp-utils.h" #include "NetworkManagerUtils.h" #include "gsystem-local-alloc.h" +#include "nm-platform.h" #include "nm-sd-adapt.h" |