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

--- ./client/smbmount.c.orig 2004-11-29 19:01:01.927182208 +0100
+++ ./client/smbmount.c 2004-11-29 19:01:36.032997336 +0100
@@ -24,6 +24,11 @@
#include <mntent.h>
#include <asm/types.h>
+/* for linux-2.6.9, from linux/types.h */
+# include <asm/types.h>
+# ifndef pgoff_t
+# define pgoff_t unsigned long
+# endif
#include <linux/smb_fs.h>
extern BOOL in_client;
--- ./client/smbumount.c.orig 2004-11-29 19:02:59.018381640 +0100
+++ ./client/smbumount.c 2004-11-29 19:03:24.708476152 +0100
@@ -11,6 +11,11 @@
#include <asm/types.h>
#include <asm/posix_types.h>
+/* for linux-2.6.9, from linux/types.h */
+# include <asm/types.h>
+# ifndef pgoff_t
+# define pgoff_t unsigned long
+# endif
#include <linux/smb.h>
#include <linux/smb_mount.h>
#include <linux/smb_fs.h>