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 --- tools/iproxy.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/iproxy.c') diff --git a/tools/iproxy.c b/tools/iproxy.c index 113938e..a018cf7 100644 --- a/tools/iproxy.c +++ b/tools/iproxy.c @@ -44,6 +44,10 @@ typedef unsigned int socklen_t; #include "socket.h" #include "usbmuxd.h" +#ifndef ETIMEDOUT +#define ETIMEDOUT 138 +#endif + static uint16_t listen_port = 0; static uint16_t device_port = 0; static char* device_udid = NULL; -- cgit v1.1-32-gdbae