Hey, Are you sure this one is required? I did not get warnings when using ntohl without including winsock.h first. Christophe On Wed, Jan 28, 2015 at 11:49:49AM +0100, Javier Celaya wrote: > --- > common/canvas_base.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/common/canvas_base.c b/common/canvas_base.c > index fb35c4a..5867f3e 100644 > --- a/common/canvas_base.c > +++ b/common/canvas_base.c > @@ -27,7 +27,11 @@ > #include <math.h> > > #ifdef USE_LZ4 > +#ifdef _WIN32 > +#include <winsock.h> > +#else > #include <arpa/inet.h> > +#endif > #include <lz4.h> > #endif > #include <spice/macros.h> > -- > 1.9.3 > > _______________________________________________ > Spice-devel mailing list > Spice-devel@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/spice-devel
Attachment:
pgp4d3fDhBWf8.pgp
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel