idevice: win32: Add winsock2.h include for struct sockaddr_storage
diff --git a/src/idevice.c b/src/idevice.c
index f984ff4..95c3aea 100644
--- a/src/idevice.c
+++ b/src/idevice.c
@@ -30,6 +30,11 @@
 #include <errno.h>
 #include <time.h>
 
+#ifdef WIN32
+#include <winsock2.h>
+#include <windows.h>
+#endif
+
 #include <usbmuxd.h>
 
 #if defined(HAVE_OPENSSL)
@@ -56,10 +61,6 @@
 #include "common/userpref.h"
 #include "common/debug.h"
 
-#ifdef WIN32
-#include <windows.h>
-#endif
-
 #ifndef ECONNREFUSED
 #define ECONNREFUSED 107
 #endif