summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/network/kernel/qhostaddress.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/network/kernel/qhostaddress.cpp b/src/network/kernel/qhostaddress.cpp
index 24048113ac..3dd7461a75 100644
--- a/src/network/kernel/qhostaddress.cpp
+++ b/src/network/kernel/qhostaddress.cpp
@@ -38,19 +38,18 @@
** $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>