From db4dec661d9a9ae0886fb1cf9a2ffa7be3d34184 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 5 Jan 2020 03:38:27 +0100 Subject: Define ETIMEDOUT if required --- common/socket.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common') 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; -- cgit v1.1-32-gdbae