jshn: add functionality to read big JSON
[project/libubox.git] / md5.c
diff --git a/md5.c b/md5.c
index fd25282..3f8ad28 100644 (file)
--- a/md5.c
+++ b/md5.c
@@ -52,8 +52,8 @@
 
 #include <string.h>
 #include <stdio.h>
-#include <endian.h>
 
+#include "utils.h"
 #include "md5.h"
 
 /*
@@ -308,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;