aboutsummaryrefslogtreecommitdiff
path: root/miscutils/hdparm.c
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-03 19:49:21 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-03 19:49:21 +0000
commit7bc07ed49e9fa80c72d1fca12a406f7a2044351d (patch)
tree31f480da01f06ac69514532ce37bbcfde2c43e1b /miscutils/hdparm.c
parentba086eee66e6ac97b1e5bcfb27acebcf961d9473 (diff)
downloadbusybox-w32-7bc07ed49e9fa80c72d1fca12a406f7a2044351d.tar.gz
busybox-w32-7bc07ed49e9fa80c72d1fca12a406f7a2044351d.tar.bz2
busybox-w32-7bc07ed49e9fa80c72d1fca12a406f7a2044351d.zip
- move #include busybox.h to the very top so we pull in the config
and eventual platform specific includes in early. git-svn-id: svn://busybox.net/trunk/busybox@15273 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'miscutils/hdparm.c')
-rw-r--r--miscutils/hdparm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c
index 37b87ea9f..24962dd25 100644
--- a/miscutils/hdparm.c
+++ b/miscutils/hdparm.c
@@ -12,12 +12,12 @@
12 * - by Mark Lord (C) 1994-2002 -- freely distributable 12 * - by Mark Lord (C) 1994-2002 -- freely distributable
13 */ 13 */
14 14
15#include "busybox.h"
15#include <string.h> 16#include <string.h>
16#include <stdlib.h> 17#include <stdlib.h>
17#include <fcntl.h> 18#include <fcntl.h>
18#include <errno.h> 19#include <errno.h>
19#include <ctype.h> 20#include <ctype.h>
20#include <endian.h>
21#include <sys/ioctl.h> 21#include <sys/ioctl.h>
22#include <sys/sysmacros.h> 22#include <sys/sysmacros.h>
23#include <sys/times.h> 23#include <sys/times.h>
@@ -31,8 +31,6 @@
31#endif 31#endif
32#include <unistd.h> 32#include <unistd.h>
33 33
34#include "busybox.h"
35
36/* device types */ 34/* device types */
37/* ------------ */ 35/* ------------ */
38#define NO_DEV 0xffff 36#define NO_DEV 0xffff