diff options
Diffstat (limited to 'src/mobile_image_mounter.h')
| -rw-r--r-- | src/mobile_image_mounter.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/mobile_image_mounter.h b/src/mobile_image_mounter.h index 4056dc8..67cb589 100644 --- a/src/mobile_image_mounter.h +++ b/src/mobile_image_mounter.h | |||
| @@ -22,22 +22,13 @@ | |||
| 22 | #ifndef __MOBILE_IMAGE_MOUNTER_H | 22 | #ifndef __MOBILE_IMAGE_MOUNTER_H |
| 23 | #define __MOBILE_IMAGE_MOUNTER_H | 23 | #define __MOBILE_IMAGE_MOUNTER_H |
| 24 | 24 | ||
| 25 | #ifdef WIN32 | ||
| 26 | #include <windows.h> | ||
| 27 | #else | ||
| 28 | #include <pthread.h> | ||
| 29 | #endif | ||
| 30 | |||
| 31 | #include "libimobiledevice/mobile_image_mounter.h" | 25 | #include "libimobiledevice/mobile_image_mounter.h" |
| 32 | #include "property_list_service.h" | 26 | #include "property_list_service.h" |
| 27 | #include "common/thread.h" | ||
| 33 | 28 | ||
| 34 | struct mobile_image_mounter_client_private { | 29 | struct mobile_image_mounter_client_private { |
| 35 | property_list_service_client_t parent; | 30 | property_list_service_client_t parent; |
| 36 | #ifdef WIN32 | 31 | mutex_t mutex; |
| 37 | CRITICAL_SECTION mutex; | ||
| 38 | #else | ||
| 39 | pthread_mutex_t mutex; | ||
| 40 | #endif | ||
| 41 | }; | 32 | }; |
| 42 | 33 | ||
| 43 | #endif | 34 | #endif |
