diff options
author | Nikias Bassen | 2011-09-03 02:07:09 +0200 |
---|---|---|
committer | Martin Szulecki | 2012-03-18 20:40:54 +0100 |
commit | 6a83ef58a1032e3b336587e2f3a19659ae325c25 (patch) | |
tree | 27e12297bc66bd22a0cfc86459413a49a0d998f2 /src/afc.h | |
parent | b586203dbef26f9e94325b57867478eda504e5a1 (diff) | |
download | libimobiledevice-6a83ef58a1032e3b336587e2f3a19659ae325c25.tar.gz libimobiledevice-6a83ef58a1032e3b336587e2f3a19659ae325c25.tar.bz2 |
Remove gthread dependency and use pthreads instead
Diffstat (limited to 'src/afc.h')
-rw-r--r-- | src/afc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -19,8 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include <glib.h> #include <stdint.h> +#include <pthread.h> #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; }; |