aboutsummaryrefslogtreecommitdiff
path: root/miscutils/hdparm.c
diff options
context:
space:
mode:
authorGravatar Rob Landley <rob@landley.net>2006-06-15 15:49:36 +0000
committerGravatar Rob Landley <rob@landley.net>2006-06-15 15:49:36 +0000
commit22d26fc6ae2af584482deaf92f25bb6a7261ad78 (patch)
tree3e9e7c2b43314acdd1f4db7e3a89a3c69daf814a /miscutils/hdparm.c
parentd6e5083d16c940e36312f4a1b52317dcfc32c011 (diff)
downloadbusybox-22d26fc6ae2af584482deaf92f25bb6a7261ad78.tar.gz
busybox-22d26fc6ae2af584482deaf92f25bb6a7261ad78.tar.bz2
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/hdparm.c')
-rw-r--r--miscutils/hdparm.c2
1 files changed, 0 insertions, 2 deletions
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>