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 @@
#ifndef IINSTALLATION_PROXY_H
#define IINSTALLATION_PROXY_H
+#ifdef WIN32
+#include <windows.h>
+#else
#include <pthread.h>
+#endif
#include "libimobiledevice/installation_proxy.h"
#include "property_list_service.h"
struct instproxy_client_private {
property_list_service_client_t parent;
+#ifdef WIN32
+ CRITICAL_SECTION mutex;
+ HANDLE status_updater;
+#else
pthread_mutex_t mutex;
pthread_t status_updater;
+#endif
};
#endif