summaryrefslogtreecommitdiff
path: root/src/grp-hostname/hostnamectl
diff options
context:
space:
mode:
Diffstat (limited to 'src/grp-hostname/hostnamectl')
-rw-r--r--src/grp-hostname/hostnamectl/Makefile1
-rw-r--r--src/grp-hostname/hostnamectl/hostnamectl.c12
2 files changed, 7 insertions, 6 deletions
diff --git a/src/grp-hostname/hostnamectl/Makefile b/src/grp-hostname/hostnamectl/Makefile
index a36d616a5c..5285beca4b 100644
--- a/src/grp-hostname/hostnamectl/Makefile
+++ b/src/grp-hostname/hostnamectl/Makefile
@@ -29,6 +29,7 @@ hostnamectl_SOURCES = \
src/hostname/hostnamectl.c
hostnamectl_LDADD = \
+ libsystemd-internal.la \
libsystemd-shared.la
bin_PROGRAMS += \
diff --git a/src/grp-hostname/hostnamectl/hostnamectl.c b/src/grp-hostname/hostnamectl/hostnamectl.c
index 8a24813934..c5f702087d 100644
--- a/src/grp-hostname/hostnamectl/hostnamectl.c
+++ b/src/grp-hostname/hostnamectl/hostnamectl.c
@@ -26,13 +26,13 @@
#include <systemd/sd-bus.h>
#include <systemd/sd-id128.h>
-#include "basic/alloc-util.h"
-#include "basic/architecture.h"
-#include "basic/hostname-util.h"
-#include "basic/util.h"
#include "sd-bus/bus-error.h"
-#include "shared/bus-util.h"
-#include "shared/spawn-polkit-agent.h"
+#include "sd-bus/bus-util.h"
+#include "systemd-basic/alloc-util.h"
+#include "systemd-basic/architecture.h"
+#include "systemd-basic/hostname-util.h"
+#include "systemd-basic/util.h"
+#include "systemd-shared/spawn-polkit-agent.h"
static bool arg_ask_password = true;
static BusTransport arg_transport = BUS_TRANSPORT_LOCAL;