diff options
| author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-15 15:49:36 +0000 |
|---|---|---|
| committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-15 15:49:36 +0000 |
| commit | c5b1ec61e032ef2d5ee3be69cbfe58365b75e24d (patch) | |
| tree | 3e9e7c2b43314acdd1f4db7e3a89a3c69daf814a /miscutils | |
| parent | 0e247e78577444e11ba00ae15c8648373487a78e (diff) | |
| download | busybox-w32-c5b1ec61e032ef2d5ee3be69cbfe58365b75e24d.tar.gz busybox-w32-c5b1ec61e032ef2d5ee3be69cbfe58365b75e24d.tar.bz2 busybox-w32-c5b1ec61e032ef2d5ee3be69cbfe58365b75e24d.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.)
git-svn-id: svn://busybox.net/trunk/busybox@15393 69ca8d6d-28ef-0310-b511-8ec308f3f277
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> |
