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 @@
22#ifndef __SBSERVICES_H 22#ifndef __SBSERVICES_H
23#define __SBSERVICES_H 23#define __SBSERVICES_H
24 24
25#ifdef WIN32
26#include <windows.h>
27#else
28#include <pthread.h>
29#endif
30
31#include "libimobiledevice/sbservices.h" 25#include "libimobiledevice/sbservices.h"
32#include "property_list_service.h" 26#include "property_list_service.h"
27#include "common/thread.h"
33 28
34struct sbservices_client_private { 29struct sbservices_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