summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-08-18 16:11:38 +0200
committerGravatar Nikias Bassen2019-08-18 16:11:38 +0200
commit9e33a26264ab6abe9eea10b7aa11f948b4bde87e (patch)
tree8decbc1cd400e6d6dbf87fd268cd7acf9bfae5aa
parenta9ccd31ddd5d59db8dc5114c7c85e3eac8743578 (diff)
downloadlibimobiledevice-9e33a26264ab6abe9eea10b7aa11f948b4bde87e.tar.gz
libimobiledevice-9e33a26264ab6abe9eea10b7aa11f948b4bde87e.tar.bz2
idevice: [win32] Move windows.h include after socket.h to prevent 'must include winsock.h before windows.h'
-rw-r--r--src/idevice.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/idevice.c b/src/idevice.c
index 38fc015..382e9d2 100644
--- a/src/idevice.c
+++ b/src/idevice.c
@@ -29,10 +29,6 @@
#include <string.h>
#include <errno.h>
-#ifdef WIN32
-#include <windows.h>
-#endif
-
#include <usbmuxd.h>
#ifdef HAVE_OPENSSL
#include <openssl/err.h>
@@ -48,6 +44,10 @@
#include "common/thread.h"
#include "common/debug.h"
+#ifdef WIN32
+#include <windows.h>
+#endif
+
#ifdef HAVE_OPENSSL
#if OPENSSL_VERSION_NUMBER < 0x10100000L || \