summaryrefslogtreecommitdiffstats
path: root/src/normal.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-10-02 15:40:54 +0200
committerGravatar Nikias Bassen2013-10-02 15:40:54 +0200
commit930031521ab8abc4423cb00360074aa801db2d1e (patch)
treebe4ebff3ba4b805c085ce77d58e235601c919d3a /src/normal.c
parent8e7c2a05bdf27e280f1738a618912f7833b9ef36 (diff)
downloadidevicerestore-930031521ab8abc4423cb00360074aa801db2d1e.tar.gz
idevicerestore-930031521ab8abc4423cb00360074aa801db2d1e.tar.bz2
silence implicit declaration compiler warnings
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) {