summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libnetfs/io-read.c4
-rw-r--r--libnetfs/release-protid.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/libnetfs/io-read.c b/libnetfs/io-read.c
index 00452d30..4c97c297 100644
--- a/libnetfs/io-read.c
+++ b/libnetfs/io-read.c
@@ -1,4 +1,4 @@
-/*
+/*
Copyright (C) 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
@@ -21,6 +21,7 @@
#include "netfs.h"
#include "io_S.h"
#include <fcntl.h>
+#include <sys/mman.h>
error_t
netfs_S_io_read (struct protid *user,
@@ -101,4 +102,3 @@ netfs_S_io_read (struct protid *user,
return err;
}
-
diff --git a/libnetfs/release-protid.c b/libnetfs/release-protid.c
index d423b2b6..b1bac0eb 100644
--- a/libnetfs/release-protid.c
+++ b/libnetfs/release-protid.c
@@ -1,4 +1,4 @@
-/*
+/*
Copyright (C) 1996, 1999 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
@@ -19,12 +19,13 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */
#include "netfs.h"
+#include <sys/mman.h>
void
netfs_release_protid (void *arg)
{
struct protid *user = arg;
-
+
iohelp_free_iouser (user->user);
if (user->shared_object)
mach_port_deallocate (mach_task_self (), user->shared_object);