summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/db.c')
-rw-r--r--lib/libalpm/db.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c
index a1587230..c297bc69 100644
--- a/lib/libalpm/db.c
+++ b/lib/libalpm/db.c
@@ -39,6 +39,9 @@
#include "package.h"
#include "group.h"
+/* global handle variable */
+extern pmhandle_t *handle;
+
/** \addtogroup alpm_databases Database Functions
* @brief Functions to query and manipulate the database of libalpm
* @{