from Justin: on Windows, hton[ls] is in winsock.h

This commit is contained in:
Sean C. Rhea
2008-05-13 03:33:08 +00:00
parent 812b17c952
commit e63452d521

View File

@@ -27,7 +27,11 @@
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <arpa/inet.h>
#ifdef WIN32
#include <winsock.h>
#else
#include <arpa/inet.h>
#endif
static quint8 readByte(QDataStream &in)
{