summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-08-03 02:43:10 +0800
committerGravatar Nikias Bassen2019-08-03 02:43:10 +0800
commitb097ea39f391f5c2c83d8f4687843a3634f7cd54 (patch)
tree589dbb7cb277c2cf3b7b652d32d129892fd00a34 /common
parent219e6bcae2ab93cd98bd352b62fb0f9d21051344 (diff)
downloadlibusbmuxd-b097ea39f391f5c2c83d8f4687843a3634f7cd54.tar.gz
libusbmuxd-b097ea39f391f5c2c83d8f4687843a3634f7cd54.tar.bz2
win32: Fix compilation
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;