blob: 246ccd990f122415aeb9277adac5fc50b540bee0 (
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
|
From dfbaa1b7f7cde281e23464ceb24699d4686651ab Mon Sep 17 00:00:00 2001
From: Henning Schild <henning@hennsch.de>
Date: Tue, 11 Jan 2022 08:22:55 +0100
Subject: [PATCH] library: include endian.h for le32toh
upstream commit 938065a751c0876eb837a27f8c1443fc7d0d2551
linking against musl libc we need to include that specifically, actually
also according to "man 3 endian".
---
library/adutil.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/library/adutil.c b/library/adutil.c
index 9b0c47f3b7e9..4bb06a3a7588 100644
--- a/library/adutil.c
+++ b/library/adutil.c
@@ -29,6 +29,7 @@
#include <assert.h>
#include <ctype.h>
+#include <endian.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
--
2.34.1
|