diff options
author | 2022-03-29 09:45:33 +0200 | |
---|---|---|
committer | 2022-03-29 09:45:33 +0200 | |
commit | f6873e5a3b8ebb63fd395e4e01e6bf29fe5655b7 (patch) | |
tree | f551089aa3556b9a9fd8be7bae38f2a2fb5ee870 | |
parent | 8bfa46bdf404af39d32b7cba8f0102b46a6a43e0 (diff) | |
download | libimobiledevice-f6873e5a3b8ebb63fd395e4e01e6bf29fe5655b7.tar.gz libimobiledevice-f6873e5a3b8ebb63fd395e4e01e6bf29fe5655b7.tar.bz2 |
idevice: Make sure ECONNREFUSED is defined
-rw-r--r-- | src/idevice.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/idevice.c b/src/idevice.c index 64769d2..f984ff4 100644 --- a/src/idevice.c +++ b/src/idevice.c | |||
@@ -60,10 +60,14 @@ | |||
60 | #include <windows.h> | 60 | #include <windows.h> |
61 | #endif | 61 | #endif |
62 | 62 | ||
63 | #ifndef ECONNREFUSED | ||
64 | #define ECONNREFUSED 107 | ||
65 | #endif | ||
63 | #ifndef ETIMEDOUT | 66 | #ifndef ETIMEDOUT |
64 | #define ETIMEDOUT 138 | 67 | #define ETIMEDOUT 138 |
65 | #endif | 68 | #endif |
66 | 69 | ||
70 | |||
67 | #ifdef HAVE_OPENSSL | 71 | #ifdef HAVE_OPENSSL |
68 | 72 | ||
69 | #if OPENSSL_VERSION_NUMBER < 0x10100000L || \ | 73 | #if OPENSSL_VERSION_NUMBER < 0x10100000L || \ |