diff options
author | Rob Landley <rob@landley.net> | 2006-06-15 15:49:36 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-06-15 15:49:36 +0000 |
commit | 22d26fc6ae2af584482deaf92f25bb6a7261ad78 (patch) | |
tree | 3e9e7c2b43314acdd1f4db7e3a89a3c69daf814a /util-linux/switch_root.c | |
parent | d6e5083d16c940e36312f4a1b52317dcfc32c011 (diff) | |
download | busybox-w32-22d26fc6ae2af584482deaf92f25bb6a7261ad78.tar.gz busybox-w32-22d26fc6ae2af584482deaf92f25bb6a7261ad78.tar.bz2 busybox-w32-22d26fc6ae2af584482deaf92f25bb6a7261ad78.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.)
Diffstat (limited to 'util-linux/switch_root.c')
-rw-r--r-- | util-linux/switch_root.c | 7 |
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 | ||