summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-07-11 01:44:53 +0000
committerRoland McGrath <roland@gnu.org>1999-07-11 01:44:53 +0000
commite783d71f31983f1b0ba91ee3904a29c493d72662 (patch)
treeef6c82738885f9ebe143ef834aa0d1c3d1a215c4
parent5b6f0a595232e78d69085969e5d6e0d21a6f98ff (diff)
1999-07-10 Roland McGrath <roland@baalperazim.frob.com>
* priv.h: Add #include <sys/mman.h> for munmap decl.
-rw-r--r--libpager/priv.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/libpager/priv.h b/libpager/priv.h
index 24b7aadf..0232e3e8 100644
--- a/libpager/priv.h
+++ b/libpager/priv.h
@@ -1,5 +1,5 @@
/* Private data for pager library.
- Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation
+ Copyright (C) 1994,95,96,97,99 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -17,6 +17,7 @@
#include <mach.h>
#include <hurd.h>
+#include <sys/mman.h>
#include "pager.h"
#include <hurd/ports.h>
@@ -35,20 +36,20 @@ struct pager
NORMAL, /* while running */
SHUTDOWN, /* ignore all further requests */
} pager_state;
-
+
struct mutex interlock;
struct condition wakeup;
struct lock_request *lock_requests; /* pending lock requests */
struct attribute_request *attribute_requests; /* pending attr requests */
-
+
boolean_t may_cache;
memory_object_copy_strategy_t copy_strategy;
/* Interface ports */
memory_object_control_t memobjcntl;
memory_object_name_t memobjname;
-
+
int seqno;
int noterm; /* number of threads blocking termination */
@@ -57,7 +58,7 @@ struct pager
int termwaiting:1;
int waitingforseqno:1;
-
+
#ifdef KERNEL_INIT_RACE
/* Out of sequence object_init calls waiting for
terminations. */