summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 9a84188..19ce881 100644
--- a/src/common.h
+++ b/src/common.h
@@ -129,6 +129,7 @@ struct idevicerestore_device_t {
struct idevicerestore_client_t {
int flags;
plist_t tss;
+ plist_t version_data;
uint64_t ecid;
unsigned char* nonce;
int nonce_size;
@@ -183,6 +184,12 @@ int write_file(const char* filename, const void* data, size_t size);
char *generate_guid();
+#ifdef WIN32
+#define __mkdir(path, mode) mkdir(path)
+#else
+#define __mkdir(path, mode) mkdir(path, mode)
+#endif
+
extern struct idevicerestore_client_t* idevicerestore;
#ifdef __cplusplus