summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/idevice.c4
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 || \