Include winsock2.h for ntohl.
authorAndreas Holzammer <andreas.holzammer@kdab.com>
Wed, 8 Feb 2012 13:15:33 +0000 (14:15 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 10 Feb 2012 14:30:23 +0000 (15:30 +0100)
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>
src/network/kernel/qdnslookup_win.cpp

index ba97e64..9b2c088 100644 (file)
@@ -39,6 +39,7 @@
 **
 ****************************************************************************/
 
+#include <winsock2.h>
 #include "qdnslookup_p.h"
 
 #include <qurl.h>