diff options
| author | 2019-08-03 02:43:10 +0800 | |
|---|---|---|
| committer | 2019-08-03 02:43:10 +0800 | |
| commit | b097ea39f391f5c2c83d8f4687843a3634f7cd54 (patch) | |
| tree | 589dbb7cb277c2cf3b7b652d32d129892fd00a34 /tools/iproxy.c | |
| parent | 219e6bcae2ab93cd98bd352b62fb0f9d21051344 (diff) | |
| download | libusbmuxd-b097ea39f391f5c2c83d8f4687843a3634f7cd54.tar.gz libusbmuxd-b097ea39f391f5c2c83d8f4687843a3634f7cd54.tar.bz2 | |
win32: Fix compilation
Diffstat (limited to 'tools/iproxy.c')
| -rw-r--r-- | tools/iproxy.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| 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; | 
