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
789 B

  1. --- ./client/smbmount.c.orig 2004-11-29 19:01:01.927182208 +0100
  2. +++ ./client/smbmount.c 2004-11-29 19:01:36.032997336 +0100
  3. @@ -24,6 +24,11 @@
  4. #include <mntent.h>
  5. #include <asm/types.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/smb_fs.h>
  12. extern BOOL in_client;
  13. --- ./client/smbumount.c.orig 2004-11-29 19:02:59.018381640 +0100
  14. +++ ./client/smbumount.c 2004-11-29 19:03:24.708476152 +0100
  15. @@ -11,6 +11,11 @@
  16. #include <asm/types.h>
  17. #include <asm/posix_types.h>
  18. +/* for linux-2.6.9, from linux/types.h */
  19. +# include <asm/types.h>
  20. +# ifndef pgoff_t
  21. +# define pgoff_t unsigned long
  22. +# endif
  23. #include <linux/smb.h>
  24. #include <linux/smb_mount.h>
  25. #include <linux/smb_fs.h>