[Spice-devel] [PATCH 6/6] LZ4: Include winsock.h when compiling for Windows
Javier Celaya
javier.celaya at flexvm.es
Tue Feb 3 03:09:41 PST 2015
El Martes, 3 de febrero de 2015 11:54:27 Christophe Fergeau escribió:
> Hey,
>
> Are you sure this one is required? I did not get warnings when using
> ntohl without including winsock.h first.
>
> Christophe
Ok, maybe it is included by some other header... But in any case the include
of arpa/inet.h must be guarded, because it does not exist for Windows builds.
I'll send the corrected patch alone.
Javi
More information about the Spice-devel
mailing list