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 /miscutils | |
parent | d6e5083d16c940e36312f4a1b52317dcfc32c011 (diff) | |
download | busybox-22d26fc6ae2af584482deaf92f25bb6a7261ad78.tar.gz |
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 'miscutils')
-rw-r--r-- | miscutils/eject.c | 1 | ||||
-rw-r--r-- | miscutils/hdparm.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/miscutils/eject.c b/miscutils/eject.c index a402e49c6..8ac66779a 100644 --- a/miscutils/eject.c +++ b/miscutils/eject.c @@ -17,7 +17,6 @@ #include <fcntl.h> #include <sys/ioctl.h> #include <unistd.h> -#include <sys/mount.h> #include <mntent.h> /* various defines swiped from linux/cdrom.h */ diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c index 81e7c6e4c..925644e1f 100644 --- a/miscutils/hdparm.c +++ b/miscutils/hdparm.c @@ -14,14 +14,12 @@ #include "busybox.h" #include <string.h> -#include <stdlib.h> #include <fcntl.h> #include <errno.h> #include <ctype.h> #include <sys/ioctl.h> #include <sys/sysmacros.h> #include <sys/times.h> -#include <sys/mount.h> #include <sys/mman.h> #include <linux/types.h> #include <linux/hdreg.h> |