1
0

100-musl-compat.patch 974 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --- a/prog/dump/isadump.c
  2. +++ b/prog/dump/isadump.c
  3. @@ -38,7 +38,7 @@
  4. /* To keep glibc2 happy */
  5. -#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
  6. +#if !defined(__UCLIBC__)
  7. #include <sys/io.h>
  8. #else
  9. #include <asm/io.h>
  10. --- a/prog/dump/isaset.c
  11. +++ b/prog/dump/isaset.c
  12. @@ -34,7 +34,7 @@
  13. /* To keep glibc2 happy */
  14. -#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
  15. +#if !defined(__UCLIBC__)
  16. #include <sys/io.h>
  17. #else
  18. #include <asm/io.h>
  19. --- a/prog/dump/superio.c
  20. +++ b/prog/dump/superio.c
  21. @@ -21,7 +21,7 @@
  22. #include <stdlib.h>
  23. -#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
  24. +#if !defined(__UCLIBC__)
  25. #include <sys/io.h>
  26. #else
  27. #include <asm/io.h>
  28. --- a/prog/dump/util.c
  29. +++ b/prog/dump/util.c
  30. @@ -12,7 +12,7 @@
  31. #include "util.h"
  32. /* To keep glibc2 happy */
  33. -#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
  34. +#if !defined(__UCLIBC__)
  35. #include <sys/io.h>
  36. #else
  37. #include <asm/io.h>