summaryrefslogtreecommitdiffstats
path: root/src/normal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/normal.c b/src/normal.c
index 92fff4c..e498113 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include <libirecovery.h>
#include <libimobiledevice/lockdown.h>
#include <libimobiledevice/libimobiledevice.h>
@@ -32,6 +33,8 @@
#include "normal.h"
#include "recovery.h"
+extern int16_t userpref_remove_device_record(const char* udid);
+
static int normal_device_connected = 0;
void normal_device_callback(const idevice_event_t* event, void* userdata) {