summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/md5driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/md5driver.c')
-rw-r--r--lib/libalpm/md5driver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libalpm/md5driver.c b/lib/libalpm/md5driver.c
index 2cd950ef..2effa5f7 100644
--- a/lib/libalpm/md5driver.c
+++ b/lib/libalpm/md5driver.c
@@ -23,6 +23,8 @@ documentation and/or software.
#include <stdio.h>
#include <string.h>
#include <libintl.h>
+#include "alpm.h"
+#include "log.h"
#include "util.h"
#include "md5.h"
@@ -43,6 +45,8 @@ char* _alpm_MDFile(char *filename)
int len;
unsigned char buffer[1024], digest[16];
+ ALPM_LOG_FUNC;
+
if((file = fopen(filename, "rb")) == NULL) {
printf (_("%s can't be opened\n"), filename);
} else {