summaryrefslogtreecommitdiff
path: root/miscutils/hdparm.c
diff options
context:
space:
mode:
authorGlenn L McGrath2003-10-09 11:38:45 +0000
committerGlenn L McGrath2003-10-09 11:38:45 +0000
commita55d72bbb419215d76465d484bfeee84308af0bc (patch)
tree921712f6e9333c2461f1cb223a07b00bd37f870d /miscutils/hdparm.c
parent99825960c18de59afb6906ba05df5671793edaf0 (diff)
downloadbusybox-a55d72bbb419215d76465d484bfeee84308af0bc.zip
busybox-a55d72bbb419215d76465d484bfeee84308af0bc.tar.gz
Patch from Steven Scholz, fix some warnings
Diffstat (limited to 'miscutils/hdparm.c')
-rw-r--r--miscutils/hdparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c
index 017d5bf..52dc11a 100644
--- a/miscutils/hdparm.c
+++ b/miscutils/hdparm.c
@@ -48,7 +48,7 @@
#include <asm/byteorder.h>
-#if __BYTE_ORDER == __BIG_ENDIAN
+#if (__BYTE_ORDER == __BIG_ENDIAN) && !defined(__USE_XOPEN)
#define __USE_XOPEN
#endif