diff options
| -rw-r--r-- | common/socket.c | 3 | ||||
| -rw-r--r-- | src/idevice.c | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/common/socket.c b/common/socket.c index 0ee8105..777b23e 100644 --- a/common/socket.c +++ b/common/socket.c | |||
| @@ -52,6 +52,9 @@ static int wsa_init = 0; | |||
| 52 | #ifndef ECONNRESET | 52 | #ifndef ECONNRESET |
| 53 | #define ECONNRESET 108 | 53 | #define ECONNRESET 108 |
| 54 | #endif | 54 | #endif |
| 55 | #ifndef ETIMEDOUT | ||
| 56 | #define ETIMEDOUT 138 | ||
| 57 | #endif | ||
| 55 | 58 | ||
| 56 | static int verbose = 0; | 59 | static int verbose = 0; |
| 57 | 60 | ||
diff --git a/src/idevice.c b/src/idevice.c index 31a8d3a..6b6a716 100644 --- a/src/idevice.c +++ b/src/idevice.c | |||
| @@ -48,6 +48,10 @@ | |||
| 48 | #include <windows.h> | 48 | #include <windows.h> |
| 49 | #endif | 49 | #endif |
| 50 | 50 | ||
| 51 | #ifndef ETIMEDOUT | ||
| 52 | #define ETIMEDOUT 138 | ||
| 53 | #endif | ||
| 54 | |||
| 51 | #ifdef HAVE_OPENSSL | 55 | #ifdef HAVE_OPENSSL |
| 52 | 56 | ||
| 53 | #if OPENSSL_VERSION_NUMBER < 0x10100000L || \ | 57 | #if OPENSSL_VERSION_NUMBER < 0x10100000L || \ |
