diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index 6313251929..053a7e0267 100755 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -87,7 +87,7 @@ typedef unsigned int UINT32; #define htolel(x) (x) #define htoles(x) (x) #else -#if defined(SOLARIS) || defined(__Darwin__) +#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__) #define __bswap_16(x) \ ((((x) & 0xff00) >> 8) | \ (((x) & 0x00ff) << 8))