summaryrefslogtreecommitdiffstats
path: root/src/installation_proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/installation_proxy.h')
-rw-r--r--src/installation_proxy.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/installation_proxy.h b/src/installation_proxy.h
index 811ead6..642968d 100644
--- a/src/installation_proxy.h
+++ b/src/installation_proxy.h
@@ -21,15 +21,24 @@
21#ifndef IINSTALLATION_PROXY_H 21#ifndef IINSTALLATION_PROXY_H
22#define IINSTALLATION_PROXY_H 22#define IINSTALLATION_PROXY_H
23 23
24#ifdef WIN32
25#include <windows.h>
26#else
24#include <pthread.h> 27#include <pthread.h>
28#endif
25 29
26#include "libimobiledevice/installation_proxy.h" 30#include "libimobiledevice/installation_proxy.h"
27#include "property_list_service.h" 31#include "property_list_service.h"
28 32
29struct instproxy_client_private { 33struct instproxy_client_private {
30 property_list_service_client_t parent; 34 property_list_service_client_t parent;
35#ifdef WIN32
36 CRITICAL_SECTION mutex;
37 HANDLE status_updater;
38#else
31 pthread_mutex_t mutex; 39 pthread_mutex_t mutex;
32 pthread_t status_updater; 40 pthread_t status_updater;
41#endif
33}; 42};
34 43
35#endif 44#endif