From c53602cf09a9dec0b82e0f2cfd46616cf7b4ccff Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 1 Sep 2021 15:57:09 +0200 Subject: Remove common code in favor of libimobiledevice-glue --- src/fdr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fdr.c') 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 #include #include +#include -#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]; -- cgit v1.1-32-gdbae