summaryrefslogtreecommitdiffstats
path: root/tools/iproxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/iproxy.c')
-rw-r--r--tools/iproxy.c4
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;