blob: acefb8f7222c715ad08ac40db0d1caecd618be3a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$FreeBSD$
--- channels/chan_skinny.c.orig
+++ channels/chan_skinny.c
@@ -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(__FreeBSD__)
#define __bswap_16(x) \
((((x) & 0xff00) >> 8) | \
(((x) & 0x00ff) << 8))
|