summaryrefslogtreecommitdiff
path: root/src/libsystemd
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-25 14:08:25 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-26 01:24:38 +0100
commitc004493cdefc1f43a3956ca529e8070f8d70be56 (patch)
tree858425bad735d74ad02a95e4ccb93be444c581c3 /src/libsystemd
parentae9b44b64c8494f2cec4198ce9034c53f48ce699 (diff)
util-lib: split out IO related calls to io-util.[ch]
Diffstat (limited to 'src/libsystemd')
-rw-r--r--src/libsystemd/sd-id128/sd-id128.c3
-rw-r--r--src/libsystemd/sd-login/sd-login.c1
-rw-r--r--src/libsystemd/sd-resolve/sd-resolve.c1
3 files changed, 4 insertions, 1 deletions
diff --git a/src/libsystemd/sd-id128/sd-id128.c b/src/libsystemd/sd-id128/sd-id128.c
index ef89fd2572..335ad3b1b4 100644
--- a/src/libsystemd/sd-id128/sd-id128.c
+++ b/src/libsystemd/sd-id128/sd-id128.c
@@ -25,10 +25,11 @@
#include "sd-id128.h"
+#include "fd-util.h"
+#include "io-util.h"
#include "macro.h"
#include "random-util.h"
#include "util.h"
-#include "fd-util.h"
_public_ char *sd_id128_to_string(sd_id128_t id, char s[SD_ID128_STRING_MAX]) {
unsigned n;
diff --git a/src/libsystemd/sd-login/sd-login.c b/src/libsystemd/sd-login/sd-login.c
index 399918f834..e1f480d058 100644
--- a/src/libsystemd/sd-login/sd-login.c
+++ b/src/libsystemd/sd-login/sd-login.c
@@ -33,6 +33,7 @@
#include "fileio.h"
#include "formats-util.h"
#include "hostname-util.h"
+#include "io-util.h"
#include "login-util.h"
#include "macro.h"
#include "string-util.h"
diff --git a/src/libsystemd/sd-resolve/sd-resolve.c b/src/libsystemd/sd-resolve/sd-resolve.c
index 38e2dc0fdd..724405d534 100644
--- a/src/libsystemd/sd-resolve/sd-resolve.c
+++ b/src/libsystemd/sd-resolve/sd-resolve.c
@@ -34,6 +34,7 @@
#include "sd-resolve.h"
#include "fd-util.h"
+#include "io-util.h"
#include "list.h"
#include "missing.h"
#include "resolve-util.h"