diff -ruN asterisk.orig/files/patch-channels_chan_skinny.c asterisk/files/patch-channels_chan_skinny.c --- asterisk.orig/files/patch-channels_chan_skinny.c Wed Dec 31 19:00:00 1969 +++ asterisk/files/patch-channels_chan_skinny.c Mon May 22 20:25:45 2006 @@ -0,0 +1,11 @@ +--- channels/chan_skinny.c.orig Tue Nov 29 13:24:39 2005 ++++ channels/chan_skinny.c Mon May 22 20:25:09 2006 +@@ -99,7 +99,7 @@ + #define htolel(x) (x) + #define htoles(x) (x) + #else +-#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__) ++#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__) || defined(BIG_ENDIAN) + #define __bswap_16(x) \ + ((((x) & 0xff00) >> 8) | \ + (((x) & 0x00ff) << 8))