diff options
Diffstat (limited to 'dev/iphoneclient.c')
| -rw-r--r-- | dev/iphoneclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/iphoneclient.c b/dev/iphoneclient.c index bb5dfdd..d62d23f 100644 --- a/dev/iphoneclient.c +++ b/dev/iphoneclient.c | |||
| @@ -20,9 +20,9 @@ | |||
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #include <stdio.h> | 22 | #include <stdio.h> |
| 23 | #include <stdlib.h> | ||
| 23 | #include <string.h> | 24 | #include <string.h> |
| 24 | #include <errno.h> | 25 | #include <errno.h> |
| 25 | #include <usb.h> | ||
| 26 | #include <glib.h> | 26 | #include <glib.h> |
| 27 | 27 | ||
| 28 | #include <libiphone/libiphone.h> | 28 | #include <libiphone/libiphone.h> |
| @@ -75,7 +75,7 @@ int main(int argc, char *argv[]) | |||
| 75 | iphone_set_debug_mask(DBGMASK_NONE); | 75 | iphone_set_debug_mask(DBGMASK_NONE); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | if (IPHONE_E_SUCCESS != iphone_get_device(&phone)) { | 78 | if (IPHONE_E_SUCCESS != iphone_device_new(&phone, NULL)) { |
| 79 | printf("No iPhone found, is it plugged in?\n"); | 79 | printf("No iPhone found, is it plugged in?\n"); |
| 80 | return -1; | 80 | return -1; |
| 81 | } | 81 | } |
