fwknop: init script improvements
[feed/packages.git] / libs / libtirpc / patches / 010-xdr_float-do-not-include-bits-endian.h.patch
1 From d04f4d6f0e682f16b0ce96839ab4eadade591eb1 Mon Sep 17 00:00:00 2001
2 From: Rosen Penev <rosenp@gmail.com>
3 Date: Tue, 21 Jan 2020 11:51:16 -0500
4 Subject: [PATCH] xdr_float: do not include bits/endian.h
5
6 bits/endian.h is an internal header. endian.h should be included.
7
8 Fixes compilation with recent musl.
9
10 Signed-off-by: Rosen Penev <rosenp@gmail.com>
11 Signed-off-by: Steve Dickson <steved@redhat.com>
12 ---
13 src/xdr_float.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 diff --git a/src/xdr_float.c b/src/xdr_float.c
17 index 26bc865..349d48f 100644
18 --- a/src/xdr_float.c
19 +++ b/src/xdr_float.c
20 @@ -83,7 +83,7 @@ static struct sgl_limits {
21 };
22 #else
23
24 -#include <bits/endian.h>
25 +#include <endian.h>
26 #define IEEEFP
27
28 #endif /* vax */
29 --
30 2.20.1
31