summaryrefslogtreecommitdiffstats
path: root/src/mobile_image_mounter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mobile_image_mounter.h')
-rw-r--r--src/mobile_image_mounter.h13
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 @@
#ifndef __MOBILE_IMAGE_MOUNTER_H
#define __MOBILE_IMAGE_MOUNTER_H
-#ifdef WIN32
-#include <windows.h>
-#else
-#include <pthread.h>
-#endif
-
#include "libimobiledevice/mobile_image_mounter.h"
#include "property_list_service.h"
+#include "common/thread.h"
struct mobile_image_mounter_client_private {
property_list_service_client_t parent;
-#ifdef WIN32
- CRITICAL_SECTION mutex;
-#else
- pthread_mutex_t mutex;
-#endif
+ mutex_t mutex;
};
#endif