AF_INET6 needs to be defined on Windows. This got undefined when
QT_NO_IPV6 was removed in
85869920bb9a4ee45cf4a89e74b1bd3d4ce67eaa
Change-Id: I1b4904f9561286b884324882f0f11dc29ba01416
Reviewed-on: http://codereview.qt.nokia.com/1169
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Markus Goetz
** $QT_END_LICENSE$
**
****************************************************************************/
-
#include "qhostaddress.h"
#include "qhostaddress_p.h"
#include "qdebug.h"
+#if defined(Q_OS_WIN)
+#include <winsock2.h>
+#endif
#include "qplatformdefs.h"
#include "qstringlist.h"
#include "qendian.h"
#ifndef QT_NO_DATASTREAM
#include <qdatastream.h>
#endif
-#if defined(Q_OS_WINCE)
-#include <winsock.h>
-#endif
#ifdef QT_LINUXBASE
# include <arpa/inet.h>