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.

48 lines
1.1 KiB

  1. --- a/fibmap.c
  2. +++ b/fibmap.c
  3. @@ -17,6 +17,9 @@
  4. #include <errno.h>
  5. #include <sys/ioctl.h>
  6. #include <sys/stat.h>
  7. +#ifndef __SANE_USERSPACE_TYPES__
  8. +#define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */
  9. +#endif
  10. #include <linux/types.h>
  11. #include <linux/fs.h>
  12. --- a/fwdownload.c
  13. +++ b/fwdownload.c
  14. @@ -14,6 +14,9 @@
  15. #include <errno.h>
  16. #include <sys/ioctl.h>
  17. #include <sys/stat.h>
  18. +#ifndef __SANE_USERSPACE_TYPES__
  19. +#define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */
  20. +#endif
  21. #include <linux/types.h>
  22. #include <linux/fs.h>
  23. #include <sys/mman.h>
  24. --- a/hdparm.c
  25. +++ b/hdparm.c
  26. @@ -24,6 +24,9 @@
  27. #include <sys/mount.h>
  28. #include <sys/mman.h>
  29. #include <sys/user.h>
  30. +#ifndef __SANE_USERSPACE_TYPES__
  31. +#define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */
  32. +#endif
  33. #include <linux/types.h>
  34. #include <linux/fs.h>
  35. #include <linux/major.h>
  36. --- a/identify.c
  37. +++ b/identify.c
  38. @@ -4,6 +4,9 @@
  39. #include <stdlib.h>
  40. #include <errno.h>
  41. #include <string.h>
  42. +#ifndef __SANE_USERSPACE_TYPES__
  43. +#define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */
  44. +#endif
  45. #include <linux/types.h>
  46. #include <endian.h>