summaryrefslogtreecommitdiff
path: root/miscutils/hdparm.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-06-03 19:49:21 +0000
committerBernhard Reutner-Fischer2006-06-03 19:49:21 +0000
commitc89982dcd78b3076cf131dae3ec4ca4b83f1b4da (patch)
tree31f480da01f06ac69514532ce37bbcfde2c43e1b /miscutils/hdparm.c
parentdeda6a5c0d00d02813cfda0d6262a24462909e9f (diff)
downloadbusybox-c89982dcd78b3076cf131dae3ec4ca4b83f1b4da.zip
busybox-c89982dcd78b3076cf131dae3ec4ca4b83f1b4da.tar.gz
- move #include busybox.h to the very top so we pull in the config
and eventual platform specific includes in early.
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 37b87ea..24962dd 100644
--- a/miscutils/hdparm.c
+++ b/miscutils/hdparm.c
@@ -12,12 +12,12 @@
* - by Mark Lord (C) 1994-2002 -- freely distributable
*/
+#include "busybox.h"
#include <string.h>
#include <stdlib.h>
#include <fcntl.h>
#include <errno.h>
#include <ctype.h>
-#include <endian.h>
#include <sys/ioctl.h>
#include <sys/sysmacros.h>
#include <sys/times.h>
@@ -31,8 +31,6 @@
#endif
#include <unistd.h>
-#include "busybox.h"
-
/* device types */
/* ------------ */
#define NO_DEV 0xffff