Fix for endianness (bug #1174)
authorMark Spencer <markster@digium.com>
Sun, 7 Mar 2004 04:36:52 +0000 (04:36 +0000)
committerMark Spencer <markster@digium.com>
Sun, 7 Mar 2004 04:36:52 +0000 (04:36 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2363 65c4cc65-6c06-0410-ace0-fbb531ad65f3

md5.c

diff --git a/md5.c b/md5.c
index 543e8c5..f132ffb 100755 (executable)
--- a/md5.c
+++ b/md5.c
@@ -1,6 +1,6 @@
 /* MD5 checksum routines used for authentication.  Not covered by GPL, but
    in the public domain as per the copyright below */
-
+#include <endian.h>
 # if __BYTE_ORDER == __BIG_ENDIAN || BYTE_ORDER == BIG_ENDIAN
 #  define HIGHFIRST 1
 # endif