aboutsummaryrefslogtreecommitdiffstats
path: root/main/freeswitch/0002-FS-verto-bswap_64.patch
blob: 0cee934c798c6e9f08f3678c0024f27f879c76b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/src/mod/endpoints/mod_verto/ws.h
+++ b/src/mod/endpoints/mod_verto/ws.h
@@ -36,6 +36,9 @@
     ((x>>40) & 0x000000000000FF00) | \
     (x<<56)
 #endif
+#ifndef __bswap_64 
+#include <byteswap.h>
+#endif
 #ifdef _MSC_VER
 #ifndef strncasecmp
 #define strncasecmp _strnicmp