summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/socket.c3
1 files changed, 3 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;
#ifndef ECONNRESET
#define ECONNRESET 108
#endif
+#ifndef ETIMEDOUT
+#define ETIMEDOUT 138
+#endif
static int verbose = 0;