projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wget: factor out progress bar code
[oweals/busybox.git]
/
util-linux
/
switch_root.c
diff --git
a/util-linux/switch_root.c
b/util-linux/switch_root.c
index 0f00b605afe2bfc539b67f39ed8e3f06481fca0b..ff0551843f00f3e2d451d3530995acdd37c87a30 100644
(file)
--- a/
util-linux/switch_root.c
+++ b/
util-linux/switch_root.c
@@
-5,18
+5,16
@@
*
* Licensed under GPL version 2, see file LICENSE in this tarball for details.
*/
*
* Licensed under GPL version 2, see file LICENSE in this tarball for details.
*/
-#include "libbb.h"
#include <sys/vfs.h>
#include <sys/vfs.h>
-
+#include <sys/mount.h>
+#include "libbb.h"
// Make up for header deficiencies
#ifndef RAMFS_MAGIC
# define RAMFS_MAGIC ((unsigned)0x858458f6)
#endif
// Make up for header deficiencies
#ifndef RAMFS_MAGIC
# define RAMFS_MAGIC ((unsigned)0x858458f6)
#endif
-
#ifndef TMPFS_MAGIC
# define TMPFS_MAGIC ((unsigned)0x01021994)
#endif
#ifndef TMPFS_MAGIC
# define TMPFS_MAGIC ((unsigned)0x01021994)
#endif
-
#ifndef MS_MOVE
# define MS_MOVE 8192
#endif
#ifndef MS_MOVE
# define MS_MOVE 8192
#endif