[BusyBox-cvs] busybox/miscutils hdparm.c,1.6,1.7

Glenn McGrath bug1 at busybox.net
Thu Oct 9 11:38:49 UTC 2003


Update of /var/cvs/busybox/miscutils
In directory winder:/tmp/cvs-serv10632/miscutils

Modified Files:
	hdparm.c 
Log Message:
Patch from Steven Scholz, fix some warnings


Index: hdparm.c
===================================================================
RCS file: /var/cvs/busybox/miscutils/hdparm.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- hdparm.c	9 Oct 2003 07:28:22 -0000	1.6
+++ hdparm.c	9 Oct 2003 11:38:45 -0000	1.7
@@ -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
 




More information about the busybox-cvs mailing list