From 6a83ef58a1032e3b336587e2f3a19659ae325c25 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sat, 3 Sep 2011 02:07:09 +0200 Subject: Remove gthread dependency and use pthreads instead --- src/afc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/afc.h') diff --git a/src/afc.h b/src/afc.h index 9c9f12d..79078ec 100644 --- a/src/afc.h +++ b/src/afc.h @@ -19,8 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include #include +#include #include "libimobiledevice/afc.h" @@ -53,7 +53,7 @@ struct afc_client_private { AFCPacket *afc_packet; int file_handle; int lock; - GMutex *mutex; + pthread_mutex_t mutex; int own_connection; }; -- cgit v1.1-32-gdbae