summaryrefslogtreecommitdiffstats
path: root/src/hostname
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-27 03:01:06 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:45:53 +0100
commitb5efdb8af40ea759a1ea584c1bc44ecc81dd00ce (patch)
tree8b8b3411e13a6c92d59e1b071b910aa6c44c7495 /src/hostname
parentutil-lib: split out globbing related calls into glob-util.[ch] (diff)
downloadsystemd-b5efdb8af40ea759a1ea584c1bc44ecc81dd00ce.tar.xz
systemd-b5efdb8af40ea759a1ea584c1bc44ecc81dd00ce.zip
util-lib: split out allocation calls into alloc-util.[ch]
Diffstat (limited to 'src/hostname')
-rw-r--r--src/hostname/hostnamectl.c1
-rw-r--r--src/hostname/hostnamed.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/hostname/hostnamectl.c b/src/hostname/hostnamectl.c
index 0724fcc16d..bf09fb8fbb 100644
--- a/src/hostname/hostnamectl.c
+++ b/src/hostname/hostnamectl.c
@@ -28,6 +28,7 @@
#include "sd-bus.h"
#include "sd-id128.h"
+#include "alloc-util.h"
#include "architecture.h"
#include "bus-error.h"
#include "bus-util.h"
diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c
index 5c63a025a3..92061532b8 100644
--- a/src/hostname/hostnamed.c
+++ b/src/hostname/hostnamed.c
@@ -24,6 +24,7 @@
#include <unistd.h>
#include <sys/utsname.h>
+#include "alloc-util.h"
#include "bus-util.h"
#include "def.h"
#include "env-util.h"