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-w32-22d26fc6ae2af584482deaf92f25bb6a7261ad78.tar.gz busybox-w32-22d26fc6ae2af584482deaf92f25bb6a7261ad78.tar.bz2 busybox-w32-22d26fc6ae2af584482deaf92f25bb6a7261ad78.zip |
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 @@ | |||
17 | #include <fcntl.h> | 17 | #include <fcntl.h> |
18 | #include <sys/ioctl.h> | 18 | #include <sys/ioctl.h> |
19 | #include <unistd.h> | 19 | #include <unistd.h> |
20 | #include <sys/mount.h> | ||
21 | #include <mntent.h> | 20 | #include <mntent.h> |
22 | 21 | ||
23 | /* various defines swiped from linux/cdrom.h */ | 22 | /* 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 @@ | |||
14 | 14 | ||
15 | #include "busybox.h" | 15 | #include "busybox.h" |
16 | #include <string.h> | 16 | #include <string.h> |
17 | #include <stdlib.h> | ||
18 | #include <fcntl.h> | 17 | #include <fcntl.h> |
19 | #include <errno.h> | 18 | #include <errno.h> |
20 | #include <ctype.h> | 19 | #include <ctype.h> |
21 | #include <sys/ioctl.h> | 20 | #include <sys/ioctl.h> |
22 | #include <sys/sysmacros.h> | 21 | #include <sys/sysmacros.h> |
23 | #include <sys/times.h> | 22 | #include <sys/times.h> |
24 | #include <sys/mount.h> | ||
25 | #include <sys/mman.h> | 23 | #include <sys/mman.h> |
26 | #include <linux/types.h> | 24 | #include <linux/types.h> |
27 | #include <linux/hdreg.h> | 25 | #include <linux/hdreg.h> |