diff options
| -rw-r--r-- | src/reverse_proxy.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/reverse_proxy.c b/src/reverse_proxy.c index fd6f1a2..ae8e9f5 100644 --- a/src/reverse_proxy.c +++ b/src/reverse_proxy.c | |||
| @@ -31,12 +31,18 @@ | |||
| 31 | #include <libimobiledevice-glue/thread.h> | 31 | #include <libimobiledevice-glue/thread.h> |
| 32 | #include <libimobiledevice-glue/socket.h> | 32 | #include <libimobiledevice-glue/socket.h> |
| 33 | 33 | ||
| 34 | |||
| 35 | #include "reverse_proxy.h" | 34 | #include "reverse_proxy.h" |
| 36 | #include "lockdown.h" | 35 | #include "lockdown.h" |
| 37 | #include "common/debug.h" | 36 | #include "common/debug.h" |
| 38 | #include "endianness.h" | 37 | #include "endianness.h" |
| 39 | 38 | ||
| 39 | #ifndef ECONNRESET | ||
| 40 | #define ECONNRESET 108 | ||
| 41 | #endif | ||
| 42 | #ifndef ETIMEDOUT | ||
| 43 | #define ETIMEDOUT 138 | ||
| 44 | #endif | ||
| 45 | |||
| 40 | #define CTRL_PORT 1082 | 46 | #define CTRL_PORT 1082 |
| 41 | #define CTRLCMD "BeginCtrl" | 47 | #define CTRLCMD "BeginCtrl" |
| 42 | #define HELLOCTRLCMD "HelloCtrl" | 48 | #define HELLOCTRLCMD "HelloCtrl" |
