Skip to content

canvas_base: Fix missing ntohl for Win32 platform

Frediano Ziglio requested to merge fziglio/spice-common:win32_compile into master

Win32 requires winsock2.h to be included in order to use ntohl. To avoid the include use GUINT32_FROM_BE instead, already available.

This problem was reported by Biswapriyo Nath whom also tested the solution for Win32.

Signed-off-by: Frediano Ziglio freddy77@gmail.com

Merge request reports