jshn: add functionality to read big JSON
[project/libubox.git] / md5.c
diff --git a/md5.c b/md5.c
index 13f84552b3b6573097f1002045c009f0e5180aff..3f8ad28c26d674b6cd3dad6b6bbcdc950ec3aadf 100644 (file)
--- a/md5.c
+++ b/md5.c
@@ -53,6 +53,7 @@
 #include <string.h>
 #include <stdio.h>
 
+#include "utils.h"
 #include "md5.h"
 
 /*
@@ -307,7 +308,7 @@ void md5_end(void *resbuf, md5_ctx_t *ctx)
        memset(ctx, 0, sizeof(*ctx));
 }
 
-int md5sum(char *file, void *md5_buf)
+int md5sum(const char *file, void *md5_buf)
 {
        char buf[256];
        md5_ctx_t ctx;