summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/error.c')
-rw-r--r--lib/libalpm/error.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/error.c b/lib/libalpm/error.c
index 4d4a065c..294ec214 100644
--- a/lib/libalpm/error.c
+++ b/lib/libalpm/error.c
@@ -29,6 +29,9 @@
#include "alpm.h"
#include "handle.h"
+/* global handle variable */
+extern pmhandle_t *handle;
+
const char SYMEXPORT *alpm_strerrorlast(void)
{
return alpm_strerror(pm_errno);