diff --git a/src/mod/endpoints/mod_verto/ws.c b/src/mod/endpoints/mod_verto/ws.c index cc36279346..0731ac6915 100644 --- a/src/mod/endpoints/mod_verto/ws.c +++ b/src/mod/endpoints/mod_verto/ws.c @@ -1,3 +1,4 @@ +#include #include "ws.h" #include diff --git a/src/mod/endpoints/mod_verto/ws.h b/src/mod/endpoints/mod_verto/ws.h index c66f3f8cd8..66231db419 100644 --- a/src/mod/endpoints/mod_verto/ws.h +++ b/src/mod/endpoints/mod_verto/ws.h @@ -26,6 +26,15 @@ #include #ifdef _MSC_VER +#define __bswap_64(x) \ + x = (x>>56) | \ + ((x<<40) & 0x00FF000000000000) | \ + ((x<<24) & 0x0000FF0000000000) | \ + ((x<<8) & 0x000000FF00000000) | \ + ((x>>8) & 0x00000000FF000000) | \ + ((x>>24) & 0x0000000000FF0000) | \ + ((x>>40) & 0x000000000000FF00) | \ + (x<<56) #ifndef strncasecmp #define strncasecmp _strnicmp #endif