summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-01-21 11:51:16 -0500
committerSteve Dickson <steved@redhat.com>2020-01-21 11:52:38 -0500
commitd04f4d6f0e682f16b0ce96839ab4eadade591eb1 (patch)
tree4b8015bf25d900b8bb0c7ca1ebcf293b30ee9517 /src
parentdaed7eedba73907730241c5262a5c16c7abedb6f (diff)
downloadti-rpc-d04f4d6f0e682f16b0ce96839ab4eadade591eb1.tar.gz
xdr_float: do not include bits/endian.hlibtirpc-1-2-6-rc2
bits/endian.h is an internal header. endian.h should be included. Fixes compilation with recent musl. Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/xdr_float.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdr_float.c b/src/xdr_float.c
index 26bc865..349d48f 100644
--- a/src/xdr_float.c
+++ b/src/xdr_float.c
@@ -83,7 +83,7 @@ static struct sgl_limits {
};
#else
-#include <bits/endian.h>
+#include <endian.h>
#define IEEEFP
#endif /* vax */