You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
753 B

  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. bits/endian.h is an internal header. endian.h should be included.
  6. Fixes compilation with recent musl.
  7. Signed-off-by: Rosen Penev <rosenp@gmail.com>
  8. Signed-off-by: Steve Dickson <steved@redhat.com>
  9. ---
  10. src/xdr_float.c | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/src/xdr_float.c b/src/xdr_float.c
  13. index 26bc865..349d48f 100644
  14. --- a/src/xdr_float.c
  15. +++ b/src/xdr_float.c
  16. @@ -83,7 +83,7 @@ static struct sgl_limits {
  17. };
  18. #else
  19. -#include <bits/endian.h>
  20. +#include <endian.h>
  21. #define IEEEFP
  22. #endif /* vax */
  23. --
  24. 2.20.1