diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-08 02:58:38 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-08 02:58:38 +0200 |
commit | da49f5852481adb0b3fa0b5ccba93b266f271c35 (patch) | |
tree | 3ab27dafe02a3723658ab2649e8b3ea28b024ac5 /util-linux/switch_root.c | |
parent | 95cc814dbd37a4cb5a69b5eac80bd3e5173fe908 (diff) | |
download | busybox-w32-da49f5852481adb0b3fa0b5ccba93b266f271c35.tar.gz busybox-w32-da49f5852481adb0b3fa0b5ccba93b266f271c35.tar.bz2 busybox-w32-da49f5852481adb0b3fa0b5ccba93b266f271c35.zip |
move libc related stuff out of platform.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/switch_root.c')
-rw-r--r-- | util-linux/switch_root.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c index 0f00b605a..ff0551843 100644 --- a/util-linux/switch_root.c +++ b/util-linux/switch_root.c | |||
@@ -5,18 +5,16 @@ | |||
5 | * | 5 | * |
6 | * Licensed under GPL version 2, see file LICENSE in this tarball for details. | 6 | * Licensed under GPL version 2, see file LICENSE in this tarball for details. |
7 | */ | 7 | */ |
8 | #include "libbb.h" | ||
9 | #include <sys/vfs.h> | 8 | #include <sys/vfs.h> |
10 | 9 | #include <sys/mount.h> | |
10 | #include "libbb.h" | ||
11 | // Make up for header deficiencies | 11 | // Make up for header deficiencies |
12 | #ifndef RAMFS_MAGIC | 12 | #ifndef RAMFS_MAGIC |
13 | # define RAMFS_MAGIC ((unsigned)0x858458f6) | 13 | # define RAMFS_MAGIC ((unsigned)0x858458f6) |
14 | #endif | 14 | #endif |
15 | |||
16 | #ifndef TMPFS_MAGIC | 15 | #ifndef TMPFS_MAGIC |
17 | # define TMPFS_MAGIC ((unsigned)0x01021994) | 16 | # define TMPFS_MAGIC ((unsigned)0x01021994) |
18 | #endif | 17 | #endif |
19 | |||
20 | #ifndef MS_MOVE | 18 | #ifndef MS_MOVE |
21 | # define MS_MOVE 8192 | 19 | # define MS_MOVE 8192 |
22 | #endif | 20 | #endif |