aboutsummaryrefslogtreecommitdiffstats
path: root/main/freeswitch/0002-FS-verto-bswap_64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/freeswitch/0002-FS-verto-bswap_64.patch')
-rw-r--r--main/freeswitch/0002-FS-verto-bswap_64.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/freeswitch/0002-FS-verto-bswap_64.patch b/main/freeswitch/0002-FS-verto-bswap_64.patch
new file mode 100644
index 0000000000..0cee934c79
--- /dev/null
+++ b/main/freeswitch/0002-FS-verto-bswap_64.patch
@@ -0,0 +1,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 \ No newline at end of file