summaryrefslogtreecommitdiffstats
path: root/src/sbservices.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-03-20 05:38:06 +0100
committerGravatar Nikias Bassen2013-03-20 05:38:06 +0100
commitb2924a1549d874fb86deaad5fd2438e567c65bf4 (patch)
treeead89f885a0492cdfc228a1c25326912e7d9b973 /src/sbservices.h
parentefca491e4c19868a68a099638552f9ba431dca4b (diff)
downloadlibimobiledevice-b2924a1549d874fb86deaad5fd2438e567c65bf4.tar.gz
libimobiledevice-b2924a1549d874fb86deaad5fd2438e567c65bf4.tar.bz2
use new internal common code for thread, mutex, and socket operations
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