xdr_float: do not include bits/endian.h
Subsystems (2)
PATCH 1/1 xdr_float: do not include bits/endian.h
bits/endian.h is an internal header. endian.h should be included.
Fixes compilation with recent musl.
Signed-off-by Rosen Penev <[email protected]>
--- src/xdr_float.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/xdr_float.c +1 -1
@@ -83,7 +83,7 @@ static struct sgl_limits { };#else -#include <bits/endian.h> +#include <endian.h> #define IEEEFP #endif /* vax */
Signature · 1 line
2.24.1
Quoted 5 lines · Rosen Penev
bits/endian.his an internal header.endian.hshould be included.Fixes compilation with recent musl.
Signed-off-by Rosen Penev <[email protected]>
Committed.... (tag: libtirpc-1-2-6-rc2)
steved.
Quoted 18 lines
--- src/xdr_float.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)src/xdr_float.c +1
-1@@ -83,7 +83,7 @@ static struct sgl_limits { };#else -#include <bits/endian.h> +#include <endian.h> #define IEEEFP #endif /* vax */