diff options
author | Roland McGrath <roland@gnu.org> | 1999-07-11 01:50:15 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-07-11 01:50:15 +0000 |
commit | 57257d8f67b8c8c9f377b605363916a58d3abe83 (patch) | |
tree | f92bcab68ba4d84d59d657ee5c45025a52c5c2bc /ftpfs | |
parent | 19c9a2509802b36e034f7084ce637791eab57683 (diff) |
1999-07-10 Roland McGrath <roland@baalperazim.frob.com>
* netfs.c: Add #include <sys/mman.h> for munmap decl.
* ccache.c: Likewise.
Diffstat (limited to 'ftpfs')
-rw-r--r-- | ftpfs/ccache.c | 1 | ||||
-rw-r--r-- | ftpfs/netfs.c | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ftpfs/ccache.c b/ftpfs/ccache.c index 98b568ae..c1e14a98 100644 --- a/ftpfs/ccache.c +++ b/ftpfs/ccache.c @@ -20,6 +20,7 @@ #include <unistd.h> #include <string.h> +#include <sys/mman.h> #include <hurd/netfs.h> diff --git a/ftpfs/netfs.c b/ftpfs/netfs.c index f1f97bb1..a7c8f7a0 100644 --- a/ftpfs/netfs.c +++ b/ftpfs/netfs.c @@ -23,6 +23,7 @@ #include <dirent.h> #include <string.h> #include <fcntl.h> +#include <sys/mman.h> #include <hurd/netfs.h> @@ -79,7 +80,7 @@ netfs_attempt_utimes (struct iouser *cred, struct node *node, } else flags |= TOUCH_ATIME; - + if (mtime) { node->nn_stat.st_mtime = mtime->tv_sec; @@ -87,7 +88,7 @@ netfs_attempt_utimes (struct iouser *cred, struct node *node, } else flags |= TOUCH_MTIME; - + fshelp_touch (&node->nn_stat, flags, ftpfs_maptime); } |