summaryrefslogtreecommitdiffstats
path: root/src/afc.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2011-09-03 02:07:09 +0200
committerGravatar Martin Szulecki2012-03-18 20:40:54 +0100
commit6a83ef58a1032e3b336587e2f3a19659ae325c25 (patch)
tree27e12297bc66bd22a0cfc86459413a49a0d998f2 /src/afc.h
parentb586203dbef26f9e94325b57867478eda504e5a1 (diff)
downloadlibimobiledevice-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.h4
1 files changed, 2 insertions, 2 deletions
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 <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;
};