aboutsummaryrefslogtreecommitdiff
path: root/util-linux/switch_root.c
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-15 15:49:36 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-15 15:49:36 +0000
commitc5b1ec61e032ef2d5ee3be69cbfe58365b75e24d (patch)
tree3e9e7c2b43314acdd1f4db7e3a89a3c69daf814a /util-linux/switch_root.c
parent0e247e78577444e11ba00ae15c8648373487a78e (diff)
downloadbusybox-w32-c5b1ec61e032ef2d5ee3be69cbfe58365b75e24d.tar.gz
busybox-w32-c5b1ec61e032ef2d5ee3be69cbfe58365b75e24d.tar.bz2
busybox-w32-c5b1ec61e032ef2d5ee3be69cbfe58365b75e24d.zip
Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot of
fallout due to the #include <sys/mount.h>. Removed that #include from various applets and fixed up those that were unhappy when that #include was made because they'd block copied stuff out of it. (Sigh.) git-svn-id: svn://busybox.net/trunk/busybox@15393 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 9815a6d9e..8e564f0bf 100644
--- a/util-linux/switch_root.c
+++ b/util-linux/switch_root.c
@@ -6,17 +6,12 @@
6 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. 6 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
7 */ 7 */
8 8
9#include <dirent.h> 9#include "busybox.h"
10#include <fcntl.h> 10#include <fcntl.h>
11#include <stdio.h>
12#include <string.h> 11#include <string.h>
13#include <sys/mount.h>
14#include <sys/stat.h>
15#include <sys/types.h>
16#include <sys/vfs.h> 12#include <sys/vfs.h>
17#include <unistd.h> 13#include <unistd.h>
18 14
19#include "busybox.h"
20 15
21// Make up for header deficiencies. 16// Make up for header deficiencies.
22 17