diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/preflight.c | 9 | 
1 files changed, 6 insertions, 3 deletions
| diff --git a/src/preflight.c b/src/preflight.c index 86a51cf..c7cfa50 100644 --- a/src/preflight.c +++ b/src/preflight.c @@ -43,14 +43,17 @@  #include "log.h"  #ifdef HAVE_LIBIMOBILEDEVICE -enum connection_type { -	CONNECTION_USBMUXD = 1 +#ifndef HAVE_ENUM_IDEVICE_CONNECTION_TYPE +enum idevice_connection_type { +	CONNECTION_USBMUXD = 1, +	CONNECTION_NETWORK  }; +#endif  struct idevice_private {  	char *udid;  	uint32_t mux_id; -	enum connection_type conn_type; +	enum idevice_connection_type conn_type;  	void *conn_data;  	int version;  }; | 
