summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-05-18 17:10:07 +0200
committerLennart Poettering <lennart@poettering.net>2015-05-18 17:10:07 +0200
commit958b66ea16deddd794b3a52643bd44633e165ead (patch)
tree22e30bbfe7e3e81b12fe37cc5754342ec513e92c /src/network
parent3b920d78b4a58dd054917821734cf0aefc6232d0 (diff)
util: split all hostname related calls into hostname-util.c
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-dhcp4.c1
-rw-r--r--src/network/networkd-network.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-dhcp4.c b/src/network/networkd-dhcp4.c
index c99e92f56d..20aee53d6e 100644
--- a/src/network/networkd-dhcp4.c
+++ b/src/network/networkd-dhcp4.c
@@ -22,6 +22,7 @@
#include <netinet/ether.h>
#include <linux/if.h>
+#include "hostname-util.h"
#include "networkd-link.h"
#include "network-internal.h"
#include "dhcp-lease-internal.h"
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c
index 8aa4eb2ed1..5947084106 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -25,6 +25,7 @@
#include "conf-files.h"
#include "conf-parser.h"
#include "util.h"
+#include "hostname-util.h"
#include "networkd.h"
#include "networkd-netdev.h"
#include "networkd-link.h"