diff --git a/vfs/local.c b/vfs/local.c index 50e7fe5e3..1a0d9ee89 100644 --- a/vfs/local.c +++ b/vfs/local.c @@ -342,7 +342,9 @@ init_localfs (void) vfs_local_ops.ungetlocalcopy = local_ungetlocalcopy; vfs_local_ops.mkdir = local_mkdir; vfs_local_ops.rmdir = local_rmdir; +#ifdef HAVE_MMAP vfs_local_ops.mmap = local_mmap; vfs_local_ops.munmap = local_munmap; +#endif vfs_register_class (&vfs_local_ops); }