summaryrefslogtreecommitdiffstats
path: root/src/sbservices.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbservices.h')
-rw-r--r--src/sbservices.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/sbservices.h b/src/sbservices.h
index 598b794..ba64d67 100644
--- a/src/sbservices.h
+++ b/src/sbservices.h
@@ -22,22 +22,13 @@
#ifndef __SBSERVICES_H
#define __SBSERVICES_H
-#ifdef WIN32
-#include <windows.h>
-#else
-#include <pthread.h>
-#endif
-
#include "libimobiledevice/sbservices.h"
#include "property_list_service.h"
+#include "common/thread.h"
struct sbservices_client_private {
property_list_service_client_t parent;
-#ifdef WIN32
- CRITICAL_SECTION mutex;
-#else
- pthread_mutex_t mutex;
-#endif
+ mutex_t mutex;
};
#endif