From 008c01915b69b006da92b986dd6fea6edb3c3097 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Mon, 17 Feb 2003 12:18:16 +0000 Subject: Fix for big endian machines --- coreutils/sha1sum.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coreutils/sha1sum.c') diff --git a/coreutils/sha1sum.c b/coreutils/sha1sum.c index d79a88ec1..03009f76f 100644 --- a/coreutils/sha1sum.c +++ b/coreutils/sha1sum.c @@ -29,10 +29,10 @@ #include #include #include - +#include #include "busybox.h" -#ifdef WORDS_BIGENDIAN +#if __BYTE_ORDER == __BIG_ENDIAN # define SWAP(n) (n) #else # define SWAP(n) \ -- cgit v1.2.3