summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libskey/skeysubr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libskey/skeysubr.c b/lib/libskey/skeysubr.c
index bfac3a3..b947c01 100644
--- a/lib/libskey/skeysubr.c
+++ b/lib/libskey/skeysubr.c
@@ -11,10 +11,12 @@
#include <skey.h>
#include "md4.h"
+#ifndef LITTLE_ENDIAN
#if (defined(__MSDOS__) || defined(MPU8086) || defined(MPU8080) \
|| defined(vax) || defined (MIPSEL))
#define LITTLE_ENDIAN /* Low order bytes are first in memory */
#endif /* Almost all other machines are big-endian */
+#endif
/* Crunch a key:
* concatenate the seed and the password, run through MD4 and
OpenPOWER on IntegriCloud