From b097ea39f391f5c2c83d8f4687843a3634f7cd54 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sat, 3 Aug 2019 02:43:10 +0800 Subject: win32: Fix compilation --- 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