summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-02-12 17:43:11 +0100
committerGravatar Nikias Bassen2012-02-12 17:43:11 +0100
commit0ef841ba9cd3b720b3db001da2dfb020b8c03fbb (patch)
tree3aba1b4a832ae99225bcc86d2290f3e138ddd325
parentca6078403d99ba0b6ffae7627780d54fdd81dbb5 (diff)
downloadidevicerestore-0ef841ba9cd3b720b3db001da2dfb020b8c03fbb.tar.gz
idevicerestore-0ef841ba9cd3b720b3db001da2dfb020b8c03fbb.tar.bz2
download: win32 has no ftello() so use ftell()
-rw-r--r--src/download.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/download.c b/src/download.c
index 8fb482a..ebf5da4 100644
--- a/src/download.c
+++ b/src/download.c
@@ -24,6 +24,11 @@
#include <curl/curl.h>
#include "download.h"
+#include "common.h"
+
+#ifdef WIN32
+#define ftello(x) ftell(x)
+#endif
typedef struct {
int length;