md5: include endian.h for musl, otherwise hashes are invalid for BE
authorSteven Barth <steven@midlink.org>
Mon, 29 Jun 2015 14:01:04 +0000 (16:01 +0200)
committerSteven Barth <steven@midlink.org>
Mon, 29 Jun 2015 14:09:32 +0000 (16:09 +0200)
Signed-off-by: Steven Barth <steven@midlink.org>
md5.c

diff --git a/md5.c b/md5.c
index 13f84552b3b6573097f1002045c009f0e5180aff..fd252823d517f6469e74c65567761cd5645de09f 100644 (file)
--- a/md5.c
+++ b/md5.c
@@ -52,6 +52,7 @@
 
 #include <string.h>
 #include <stdio.h>
+#include <endian.h>
 
 #include "md5.h"