diff options
author | Roland McGrath <roland@gnu.org> | 1999-07-11 01:56:03 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-07-11 01:56:03 +0000 |
commit | 49f1feceed0ae6c92746d42e8563663f67fc546c (patch) | |
tree | 43fb17576f3ba52ec60ae6a3ccb64a9d8063c5c0 /libnetfs/release-protid.c | |
parent | feb697a34fbf95cd3f57ac4b2e95daf5d8b1ba21 (diff) | |
download | hurd-49f1feceed0ae6c92746d42e8563663f67fc546c.tar.gz hurd-49f1feceed0ae6c92746d42e8563663f67fc546c.tar.bz2 hurd-49f1feceed0ae6c92746d42e8563663f67fc546c.zip |
1999-07-10 Roland McGrath <roland@baalperazim.frob.com>
* io-read.c: Add #include <sys/mman.h> for munmap decl.
* release-protid.c: Likewise.
Diffstat (limited to 'libnetfs/release-protid.c')
-rw-r--r-- | libnetfs/release-protid.c | 5 |
1 files changed, 3 insertions, 2 deletions
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); |