• Raphael Kubo da Costa's avatar
    Use htobeNN(3) to convert numbers in websocket.c. · 95dd7632
    Raphael Kubo da Costa authored
    byteswap.h exists only on glibc, so building libvncserver with websockets
    support was not possible in other systems.
    
    Replace the inclusion of byteswap.h and the WS_* definitions with calls to
    htobeNN, which should perform the same conversions, be more portable and
    avoid the need to check for the platform's endianness.
    95dd7632
rfbconfig.h.cmake 3.59 KB