summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;