summaryrefslogtreecommitdiff
path: root/util-linux/switch_root.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/switch_root.c')
-rw-r--r--util-linux/switch_root.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c
index 9815a6d..8e564f0 100644
--- a/util-linux/switch_root.c
+++ b/util-linux/switch_root.c
@@ -6,17 +6,12 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-#include <dirent.h>
+#include "busybox.h"
#include <fcntl.h>
-#include <stdio.h>
#include <string.h>
-#include <sys/mount.h>
-#include <sys/stat.h>
-#include <sys/types.h>
#include <sys/vfs.h>
#include <unistd.h>
-#include "busybox.h"
// Make up for header deficiencies.