Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/add.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/add.c')
-rw-r--r--lib/libalpm/add.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c
index e9dc7dcd..13d3fc4a 100644
--- a/lib/libalpm/add.c
+++ b/lib/libalpm/add.c
@@ -47,6 +47,9 @@
#include "remove.h"
#include "handle.h"
+/* global handle variable */
+extern pmhandle_t *handle;
+
/** Add a package to the transaction. */
int SYMEXPORT alpm_add_pkg(pmpkg_t *pkg)
{