summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/deps.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/deps.c')
-rw-r--r--lib/libalpm/deps.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c
index 2d6b5b32..27d04765 100644
--- a/lib/libalpm/deps.c
+++ b/lib/libalpm/deps.c
@@ -36,6 +36,9 @@
#include "db.h"
#include "handle.h"
+/* global handle variable */
+extern pmhandle_t *handle;
+
void _alpm_dep_free(pmdepend_t *dep)
{
FREE(dep->name);