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.)
This commit is contained in:
Rob Landley
2006-06-15 15:49:36 +00:00
parent d6e5083d16
commit 22d26fc6ae
9 changed files with 10 additions and 49 deletions

View File

@ -13,7 +13,7 @@
* bb_getopt_ulflags();
*/
/* Design notes: There is no spec for this. Remind me to write one.
/* Design notes: There is no spec for mount. Remind me to write one.
mount_main() calls singlemount() which calls mount_it_now().
@ -22,18 +22,14 @@
mount_it_now() does the actual mount.
*/
#include <limits.h>
#include <stdlib.h>
#include "busybox.h"
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <stdio.h>
#include <mntent.h>
#include <ctype.h>
#include <sys/mount.h>
#include <fcntl.h> // for CONFIG_FEATURE_MOUNT_LOOP
#include <sys/ioctl.h> // for CONFIG_FEATURE_MOUNT_LOOP
#include "busybox.h"
// These two aren't always defined in old headers
#ifndef MS_BIND