summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2015-04-10 20:43:52 +0200
committerRonny Chevalier <chevalier.ronny@gmail.com>2015-04-10 23:54:48 +0200
commit6482f6269c87d2249e52e889a63adbdd50f2d691 (patch)
treec9ae27c01d1d1b1f451d3bbb0e9f512d32883312 /src/test
parent05a08cb60f02970e8476306074c70ee4e6a57fb3 (diff)
shared: add formats-util.h
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-cgroup-util.c1
-rw-r--r--src/test/test-log.c1
-rw-r--r--src/test/test-tmpfiles.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/test/test-cgroup-util.c b/src/test/test-cgroup-util.c
index 9834a6a130..c0f4abe866 100644
--- a/src/test/test-cgroup-util.c
+++ b/src/test/test-cgroup-util.c
@@ -23,6 +23,7 @@
#include "util.h"
#include "cgroup-util.h"
#include "test-helper.h"
+#include "formats-util.h"
static void check_p_d_u(const char *path, int code, const char *result) {
_cleanup_free_ char *unit = NULL;
diff --git a/src/test/test-log.c b/src/test/test-log.c
index ca64004b4c..9dcfa2f274 100644
--- a/src/test/test-log.c
+++ b/src/test/test-log.c
@@ -24,6 +24,7 @@
#include "log.h"
#include "util.h"
+#include "formats-util.h"
int main(int argc, char* argv[]) {
diff --git a/src/test/test-tmpfiles.c b/src/test/test-tmpfiles.c
index 90e49d4542..221dd67eb2 100644
--- a/src/test/test-tmpfiles.c
+++ b/src/test/test-tmpfiles.c
@@ -25,6 +25,7 @@
#include <stdio.h>
#include "util.h"
+#include "formats-util.h"
int main(int argc, char** argv) {
const char *p = argv[1] ?: "/tmp";