summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/util.c')
-rw-r--r--lib/libalpm/util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c
index 19186312..6479f85a 100644
--- a/lib/libalpm/util.c
+++ b/lib/libalpm/util.c
@@ -57,6 +57,9 @@
#include "alpm_list.h"
#include "handle.h"
+/* global handle variable */
+extern pmhandle_t *handle;
+
#ifndef HAVE_STRSEP
/* This is a replacement for strsep which is not portable (missing on Solaris).
* Copyright (c) 2001 by François Gouget <fgouget_at_codeweavers.com> */