summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/dload.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/dload.c')
-rw-r--r--lib/libalpm/dload.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c
index 9583b363..8591c9d5 100644
--- a/lib/libalpm/dload.c
+++ b/lib/libalpm/dload.c
@@ -42,6 +42,9 @@
#include "util.h"
#include "handle.h"
+/* global handle variable */
+extern pmhandle_t *handle;
+
#ifdef HAVE_LIBCURL
static double prevprogress; /* last download amount */
#endif