summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qdnslookup_win.cpp
diff options
context:
space:
mode:
authorAndreas Holzammer <andreas.holzammer@kdab.com>2012-02-08 14:15:33 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-10 15:30:23 +0100
commit281673e5d3e25f543590bf63bb2b97517486f4e1 (patch)
tree222ab16267d9cd3c4ff660ff953a79b769e11f2b /src/network/kernel/qdnslookup_win.cpp
parentdd119e14d0b53491d6b1578f913ad3edfe35c9a5 (diff)
Include winsock2.h for ntohl.
This fixes the compilation for Windows CE. Include Windock2.h before Windows.h. Change-Id: Iae1ab98239bb75b59c78460e0c0e48dfa1326032 Reviewed-by: Jonas Gastal <jgastal@profusion.mobi> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'src/network/kernel/qdnslookup_win.cpp')
-rw-r--r--src/network/kernel/qdnslookup_win.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/kernel/qdnslookup_win.cpp b/src/network/kernel/qdnslookup_win.cpp
index ba97e64942..9b2c088ee2 100644
--- a/src/network/kernel/qdnslookup_win.cpp
+++ b/src/network/kernel/qdnslookup_win.cpp
@@ -39,6 +39,7 @@
**
****************************************************************************/
+#include <winsock2.h>
#include "qdnslookup_p.h"
#include <qurl.h>