summaryrefslogtreecommitdiff
path: root/src/test/test-unit-name.c
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/test/test-unit-name.c
parent3b920d78b4a58dd054917821734cf0aefc6232d0 (diff)
util: split all hostname related calls into hostname-util.c
Diffstat (limited to 'src/test/test-unit-name.c')
-rw-r--r--src/test/test-unit-name.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test-unit-name.c b/src/test/test-unit-name.c
index 5053d69d1d..e5405fb7f3 100644
--- a/src/test/test-unit-name.c
+++ b/src/test/test-unit-name.c
@@ -35,6 +35,7 @@
#include "macro.h"
#include "path-util.h"
#include "test-helper.h"
+#include "hostname-util.h"
static void test_unit_name_is_valid(void) {
assert_se(unit_name_is_valid("foo.service", UNIT_NAME_ANY));