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.

42 lines
1.1 KiB

  1. --- ./pdisk.c.orig 2004-11-25 21:54:35.597082272 +0100
  2. +++ ./pdisk.c 2004-11-25 21:56:29.799720832 +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. #endif
  14. --- ./partition_map.c.orig 2004-11-25 21:59:50.462215496 +0100
  15. +++ ./partition_map.c 2004-11-25 22:00:14.971489520 +0100
  16. @@ -35,6 +35,11 @@
  17. #include <fcntl.h>
  18. #ifdef __linux__
  19. #include <sys/ioctl.h>
  20. +/* for linux-2.6.9, from linux/types.h */
  21. +# include <asm/types.h>
  22. +# ifndef pgoff_t
  23. +# define pgoff_t unsigned long
  24. +# endif
  25. #include <linux/fs.h>
  26. #include <linux/hdreg.h>
  27. #include <sys/stat.h>
  28. --- ./fdisklabel.c.orig 2004-11-25 22:01:17.735947872 +0100
  29. +++ ./fdisklabel.c 2004-11-25 22:01:45.738690808 +0100
  30. @@ -47,6 +47,11 @@
  31. #include <sys/param.h>
  32. #include <linux/hdreg.h>
  33. +/* for linux-2.6.9, from linux/types.h */
  34. +# include <asm/types.h>
  35. +# ifndef pgoff_t
  36. +# define pgoff_t unsigned long
  37. +# endif
  38. #include <linux/fs.h>
  39. #include "fdisk.h"