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 @@
29#include <string.h> 29#include <string.h>
30#include <errno.h> 30#include <errno.h>
31 31
32#ifdef WIN32
33#include <windows.h>
34#endif
35
36#include <usbmuxd.h> 32#include <usbmuxd.h>
37#ifdef HAVE_OPENSSL 33#ifdef HAVE_OPENSSL
38#include <openssl/err.h> 34#include <openssl/err.h>
@@ -48,6 +44,10 @@
48#include "common/thread.h" 44#include "common/thread.h"
49#include "common/debug.h" 45#include "common/debug.h"
50 46
47#ifdef WIN32
48#include <windows.h>
49#endif
50
51#ifdef HAVE_OPENSSL 51#ifdef HAVE_OPENSSL
52 52
53#if OPENSSL_VERSION_NUMBER < 0x10100000L || \ 53#if OPENSSL_VERSION_NUMBER < 0x10100000L || \