diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c
index 43589971513158a705dd23c5c917242f98be15a9..f646362d735f550e8a9ed1ab2a9cd96ba1695461 100644
--- a/channels/chan_skinny.c
+++ b/channels/chan_skinny.c
@@ -110,7 +110,7 @@ static char version_id[16] = "P002F202";
 #define htolel(x) (x)
 #define htoles(x) (x)
 #else
-#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__)
+#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__) || defined(__OpenBSD__)
 #define __bswap_16(x) \
 	((((x) & 0xff00) >> 8) | \
 	 (((x) & 0x00ff) << 8))