summaryrefslogtreecommitdiff
path: root/src/shared/switch-root.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-12-06 20:49:12 +0100
committerLennart Poettering <lennart@poettering.net>2015-12-06 20:49:12 +0100
commite28039b2eba3abc6a74d24c226fb1cecfa6f7545 (patch)
tree9f873c7724d95f28b35d6b9b28915cefb04af55d /src/shared/switch-root.c
parentc8a65ef42da42bc2584162d273b64c66d76f4dae (diff)
parent22ebb9e4a9d8802b194eccc050552d0e188af489 (diff)
Merge pull request #2107 from phomes/misc
Misc cleanups
Diffstat (limited to 'src/shared/switch-root.c')
-rw-r--r--src/shared/switch-root.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shared/switch-root.c b/src/shared/switch-root.c
index fc885f6cb8..b1bbbdaadd 100644
--- a/src/shared/switch-root.c
+++ b/src/shared/switch-root.c
@@ -21,14 +21,16 @@
#include <errno.h>
#include <fcntl.h>
+#include <limits.h>
#include <stdbool.h>
-#include <string.h>
+#include <stdio.h>
#include <sys/mount.h>
#include <sys/stat.h>
#include <unistd.h>
#include "base-filesystem.h"
#include "fd-util.h"
+#include "log.h"
#include "missing.h"
#include "mkdir.h"
#include "path-util.h"