summaryrefslogtreecommitdiff
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r--lib/libalpm/sync.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index b84d6256..8390a2c2 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -50,6 +50,9 @@
#include "diskspace.h"
#include "signing.h"
+/* global handle variable */
+extern pmhandle_t *handle;
+
/** Check for new version of pkg in sync repos
* (only the first occurrence is considered in sync)
*/