summaryrefslogtreecommitdiffstats
path: root/src/fdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fdr.c')
-rw-r--r--src/fdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fdr.c b/src/fdr.c
index 5459130..ff7b56e 100644
--- a/src/fdr.c
+++ b/src/fdr.c
@@ -28,8 +28,8 @@
#include <string.h>
#include <unistd.h>
#include <libimobiledevice/libimobiledevice.h>
+#include <libimobiledevice-glue/socket.h>
-#include "socket.h" /* from libimobiledevice/common */
#include "common.h"
#include "idevicerestore.h"
#include "fdr.h"
@@ -415,7 +415,7 @@ static int fdr_handle_sync_cmd(fdr_client_t fdr_ctrl)
{
idevice_error_t device_error = IDEVICE_E_SUCCESS;
fdr_client_t fdr;
- thread_t fdr_thread = (thread_t)NULL;
+ THREAD_T fdr_thread = THREAD_T_NULL;
int res = 0;
uint32_t bytes = 0;
char buf[4096];