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.

44 lines
974 B

  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>