diff options
author | Nikias Bassen | 2022-03-29 09:45:33 +0200 |
---|---|---|
committer | Nikias Bassen | 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 @@ #include <windows.h> #endif +#ifndef ECONNREFUSED +#define ECONNREFUSED 107 +#endif #ifndef ETIMEDOUT #define ETIMEDOUT 138 #endif + #ifdef HAVE_OPENSSL #if OPENSSL_VERSION_NUMBER < 0x10100000L || \ |