mirror of the now-defunct rocklinux.org
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.

28 lines
737 B

  1. --- ./file_media.c.orig 2004-11-26 17:40:27.315376952 +0100
  2. +++ ./file_media.c 2004-11-26 17:41:09.681936256 +0100
  3. @@ -40,6 +40,11 @@
  4. #ifdef __linux__
  5. #include <sys/ioctl.h>
  6. +/* for linux-2.6.9, from linux/types.h */
  7. +# include <asm/types.h>
  8. +# ifndef pgoff_t
  9. +# define pgoff_t unsigned long
  10. +# endif
  11. #include <linux/fs.h>
  12. #include <linux/hdreg.h>
  13. #include <sys/stat.h>
  14. --- ./pdisk.c.orig 2004-11-26 17:39:02.005346048 +0100
  15. +++ ./pdisk.c 2004-11-26 17:39:53.121575200 +0100
  16. @@ -51,6 +51,11 @@
  17. #ifdef __linux__
  18. #include <sys/ioctl.h>
  19. +/* for linux-2.6.9, from linux/types.h */
  20. +# include <asm/types.h>
  21. +# ifndef pgoff_t
  22. +# define pgoff_t unsigned long
  23. +# endif
  24. #include <linux/fs.h>
  25. #include <linux/hdreg.h>
  26. #endif