diff options
| author | 2011-09-03 02:07:09 +0200 | |
|---|---|---|
| committer | 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 @@ | |||
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #include <glib.h> | ||
| 23 | #include <stdint.h> | 22 | #include <stdint.h> |
| 23 | #include <pthread.h> | ||
| 24 | 24 | ||
| 25 | #include "libimobiledevice/afc.h" | 25 | #include "libimobiledevice/afc.h" |
| 26 | 26 | ||
| @@ -53,7 +53,7 @@ struct afc_client_private { | |||
| 53 | AFCPacket *afc_packet; | 53 | AFCPacket *afc_packet; |
| 54 | int file_handle; | 54 | int file_handle; |
| 55 | int lock; | 55 | int lock; |
| 56 | GMutex *mutex; | 56 | pthread_mutex_t mutex; |
| 57 | int own_connection; | 57 | int own_connection; |
| 58 | }; | 58 | }; |
| 59 | 59 | ||
