===================================================================
--- git.orig/cmds.c
+++ git/cmds.c
-@@ -19,6 +19,10 @@
+@@ -19,8 +19,13 @@
#if HAVE_LINUX_MOUNT
#include <linux/fs.h>
+#include <fs/msdosfs/msdosfsmount.h>
#endif
++#if HAVE_LINUX_LOSETUP
/* Need to tell loop.h what the actual dev_t type is. */
+ #undef dev_t
+ #if defined(__alpha) || (defined(__sparc__) && defined(__arch64__))
+@@ -31,7 +36,7 @@
+ #include <linux/loop.h>
+ #undef dev_t
+ #define dev_t dev_t
+-
++#endif
+
+ int
+ do_echo(int argc, const char ** argv)
+@@ -753,9 +758,7 @@ do_mount(int argc, const char ** argv)
+ #elif HAVE_BSD_MOUNT
+ {
+ struct ufs_args ufs;
+- struct adosfs_args adosfs;
+ struct iso_args iso;
+- struct mfs_args mfs;
+ struct msdosfs_args msdosfs;
+ void * args;
+
+@@ -764,23 +767,11 @@ do_mount(int argc, const char ** argv)
+ ufs.fspec = (char*) argv[0];
+ args = &ufs;
+ }
+- else if (!strcmp(type, "adosfs"))
+- {
+- adosfs.fspec = (char*) argv[0];
+- adosfs.uid = 0;
+- adosfs.gid = 0;
+- args = &adosfs;
+- }
+ else if (!strcmp(type, "cd9660"))
+ {
+ iso.fspec = (char*) argv[0];
+ args = &iso;
+ }
+- else if (!strcmp(type, "mfs"))
+- {
+- mfs.fspec = (char*) argv[0];
+- args = &mfs;
+- }
+ else if (!strcmp(type, "msdos"))
+ {
+ msdosfs.fspec = (char*) argv[0];
Index: git/sash.c
===================================================================
--- git.orig/sash.c