From 64e88489ee47f4e5dca458970688485a0a165c30 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 14 Feb 2019 00:26:25 +0100 Subject: Allow .ipsw files or extracted IPSW as source --- src/common.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h index dd854cb..6c568f8 100644 --- a/src/common.h +++ b/src/common.h @@ -2,8 +2,8 @@ * common.h * Misc functions used in idevicerestore * + * Copyright (c) 2012-2019 Nikias Bassen. All Rights Reserved. * Copyright (c) 2012 Martin Szulecki. All Rights Reserved. - * Copyright (c) 2012 Nikias Bassen. All Rights Reserved. * Copyright (c) 2010 Joshua Hill. All Rights Reserved. * * This library is free software; you can redistribute it and/or @@ -144,6 +144,10 @@ void idevicerestore_progress(struct idevicerestore_client_t* client, int step, d char* strsep(char** strp, const char* delim); #endif +#ifndef HAVE_REALPATH +char* realpath(const char *filename, char *resolved_name); +#endif + void get_user_input(char *buf, int maxlen, int secure); #ifdef __cplusplus -- cgit v1.1-32-gdbae