diff --git a/libbitdht/src/util/bdnet.h b/libbitdht/src/util/bdnet.h index 1fbf18654..506281277 100644 --- a/libbitdht/src/util/bdnet.h +++ b/libbitdht/src/util/bdnet.h @@ -144,7 +144,7 @@ int bdnet_checkTTL(int fd); #define ECONNRESET 104 -#define ETIMEDOUT 110 +#define ETIMEDOUT 10060 // value from pthread.h #define ECONNREFUSED 111 #define EHOSTDOWN 112 #define EHOSTUNREACH 113 diff --git a/libretroshare/src/pqi/pqinetwork.h b/libretroshare/src/pqi/pqinetwork.h index 70b5b1a42..fb2f8596b 100644 --- a/libretroshare/src/pqi/pqinetwork.h +++ b/libretroshare/src/pqi/pqinetwork.h @@ -80,7 +80,7 @@ extern int errno; /* Define extern errno, to duplicate unix behaviour */ #define ECONNRESET 104 -#define ETIMEDOUT 110 +#define ETIMEDOUT 10060 // value from pthread.h #define ECONNREFUSED 111 #define EHOSTDOWN 112 #define EHOSTUNREACH 113