From 0ef841ba9cd3b720b3db001da2dfb020b8c03fbb Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 12 Feb 2012 17:43:11 +0100 Subject: download: win32 has no ftello() so use ftell() --- src/download.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/download.c') 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 #include "download.h" +#include "common.h" + +#ifdef WIN32 +#define ftello(x) ftell(x) +#endif typedef struct { int length; -- cgit v1.1-32-gdbae