summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--channels/chan_skinny.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c
index 435899715..f646362d7 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))