diff options
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r-- | util-linux/mount.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index e1c1c601b..9225289b6 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -13,7 +13,7 @@ | |||
13 | * bb_getopt_ulflags(); | 13 | * bb_getopt_ulflags(); |
14 | */ | 14 | */ |
15 | 15 | ||
16 | /* Design notes: There is no spec for this. Remind me to write one. | 16 | /* Design notes: There is no spec for mount. Remind me to write one. |
17 | 17 | ||
18 | mount_main() calls singlemount() which calls mount_it_now(). | 18 | mount_main() calls singlemount() which calls mount_it_now(). |
19 | 19 | ||
@@ -22,18 +22,14 @@ | |||
22 | mount_it_now() does the actual mount. | 22 | mount_it_now() does the actual mount. |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include <limits.h> | 25 | #include "busybox.h" |
26 | #include <stdlib.h> | ||
27 | #include <unistd.h> | 26 | #include <unistd.h> |
28 | #include <errno.h> | 27 | #include <errno.h> |
29 | #include <string.h> | 28 | #include <string.h> |
30 | #include <stdio.h> | ||
31 | #include <mntent.h> | 29 | #include <mntent.h> |
32 | #include <ctype.h> | 30 | #include <ctype.h> |
33 | #include <sys/mount.h> | ||
34 | #include <fcntl.h> // for CONFIG_FEATURE_MOUNT_LOOP | 31 | #include <fcntl.h> // for CONFIG_FEATURE_MOUNT_LOOP |
35 | #include <sys/ioctl.h> // for CONFIG_FEATURE_MOUNT_LOOP | 32 | #include <sys/ioctl.h> // for CONFIG_FEATURE_MOUNT_LOOP |
36 | #include "busybox.h" | ||
37 | 33 | ||
38 | // These two aren't always defined in old headers | 34 | // These two aren't always defined in old headers |
39 | #ifndef MS_BIND | 35 | #ifndef MS_BIND |