aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/chrony/chrony/0001-Fix-compilation-with-musl.patch
blob: 17b63535278b39c11e7c21f9856161a7012a6fa5 (plain)
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
29
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