summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-cgroup-util.c1
-rw-r--r--src/test/test-conf-files.c1
-rw-r--r--src/test/test-uid-range.c3
3 files changed, 4 insertions, 1 deletions
diff --git a/src/test/test-cgroup-util.c b/src/test/test-cgroup-util.c
index 104f6327be..e4f6d5168d 100644
--- a/src/test/test-cgroup-util.c
+++ b/src/test/test-cgroup-util.c
@@ -27,6 +27,7 @@
#include "process-util.h"
#include "string-util.h"
#include "test-helper.h"
+#include "user-util.h"
#include "util.h"
static void check_p_d_u(const char *path, int code, const char *result) {
diff --git a/src/test/test-conf-files.c b/src/test/test-conf-files.c
index d00517e929..f4b23355fc 100644
--- a/src/test/test-conf-files.c
+++ b/src/test/test-conf-files.c
@@ -28,6 +28,7 @@
#include "rm-rf.h"
#include "string-util.h"
#include "strv.h"
+#include "user-util.h"
#include "util.h"
static void setup_test_dir(char *tmp_dir, const char *files, ...) {
diff --git a/src/test/test-uid-range.c b/src/test/test-uid-range.c
index bc5baa2fcb..9f69d71203 100644
--- a/src/test/test-uid-range.c
+++ b/src/test/test-uid-range.c
@@ -21,8 +21,9 @@
#include <stddef.h>
-#include "util.h"
#include "uid-range.h"
+#include "user-util.h"
+#include "util.h"
int main(int argc, char *argv[]) {
_cleanup_free_ UidRange *p = NULL;