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.

34 lines
988 B

  1. diff -dur raidtools-1.00.3/detect_multipath.c raidtools-1.00.3-p/detect_multipath.c
  2. --- raidtools-1.00.3/detect_multipath.c 2003-01-15 09:58:25.000000000 +0100
  3. +++ raidtools-1.00.3-p/detect_multipath.c 2004-11-05 15:42:16.441758008 +0100
  4. @@ -34,6 +34,13 @@
  5. #include <stdlib.h>
  6. #include <string.h>
  7. #include <fcntl.h>
  8. +
  9. +/* for linux-2.6.9, from linux/types.h */
  10. +# include <asm/types.h>
  11. +# ifndef pgoff_t
  12. +# define pgoff_t unsigned long
  13. +# endif
  14. +
  15. #include <linux/fs.h>
  16. #include <errno.h>
  17. diff -dur raidtools-1.00.3/lsraid.c raidtools-1.00.3-p/lsraid.c
  18. --- raidtools-1.00.3/lsraid.c 2003-01-15 09:58:25.000000000 +0100
  19. +++ raidtools-1.00.3-p/lsraid.c 2004-11-05 15:41:44.078677944 +0100
  20. @@ -42,6 +42,13 @@
  21. #include <linux/types.h>
  22. #include <linux/major.h>
  23. +
  24. +/* for linux-2.6.9, from linux/types.h */
  25. +# include <asm/types.h>
  26. +# ifndef pgoff_t
  27. +# define pgoff_t unsigned long
  28. +# endif
  29. +
  30. #include <linux/fs.h>
  31. #include <linux/raid/md_u.h>
  32. #include <linux/raid/md_p.h>