summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/log.c')
-rw-r--r--lib/libalpm/log.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/log.c b/lib/libalpm/log.c
index f500754d..20d1ec37 100644
--- a/lib/libalpm/log.c
+++ b/lib/libalpm/log.c
@@ -30,6 +30,9 @@
#include "util.h"
#include "alpm.h"
+/* global handle variable */
+extern pmhandle_t *handle;
+
/** \addtogroup alpm_log Logging Functions
* @brief Functions to log using libalpm
* @{