hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 11ec10cdb5ab4b94c5999e018a9c854419997761 Mon Sep 17 00:00:00 2001
From: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Date: Wed, 10 Apr 2019 03:18:17 +0200
Subject: [PATCH] Fix compilation with musl
 
Fixes:
../hash_intmd5.c:58: undefined reference to `MIN'
 
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
---
 hash_intmd5.c | 2 ++
 1 file changed, 2 insertions(+)
 
diff --git a/hash_intmd5.c b/hash_intmd5.c
index 49da1cf..47efe4c 100644
--- a/hash_intmd5.c
+++ b/hash_intmd5.c
@@ -33,6 +33,8 @@
 
 #include "md5.c"
 
+#include <sys/param.h>
+
 static MD5_CTX ctx;
 
 int
-- 
2.17.1