Fix for big endian machines
diff --git a/coreutils/sha1sum.c b/coreutils/sha1sum.c
index d79a88e..03009f7 100644
--- a/coreutils/sha1sum.c
+++ b/coreutils/sha1sum.c
@@ -29,10 +29,10 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-
+#include <endian.h>
 #include "busybox.h"
 
-#ifdef WORDS_BIGENDIAN
+#if __BYTE_ORDER == __BIG_ENDIAN
 # define SWAP(n) (n)
 #else
 # define SWAP(n) \