diff options
author | Nikias Bassen | 2019-08-18 16:11:38 +0200 |
---|---|---|
committer | Nikias Bassen | 2019-08-18 16:11:38 +0200 |
commit | 9e33a26264ab6abe9eea10b7aa11f948b4bde87e (patch) | |
tree | 8decbc1cd400e6d6dbf87fd268cd7acf9bfae5aa /src | |
parent | a9ccd31ddd5d59db8dc5114c7c85e3eac8743578 (diff) | |
download | libimobiledevice-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'
Diffstat (limited to 'src')
-rw-r--r-- | src/idevice.c | 8 |
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 || \ |