summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--storeio/dev.c1
-rw-r--r--storeio/pager.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/storeio/dev.c b/storeio/dev.c
index cab344c1..70347c7c 100644
--- a/storeio/dev.c
+++ b/storeio/dev.c
@@ -23,6 +23,7 @@
#include <string.h>
#include <hurd/pager.h>
#include <hurd/store.h>
+#include <sys/mman.h>
#include "dev.h"
diff --git a/storeio/pager.c b/storeio/pager.c
index dfcf9b38..75456b83 100644
--- a/storeio/pager.c
+++ b/storeio/pager.c
@@ -23,6 +23,7 @@
#include <assert.h>
#include <strings.h>
#include <unistd.h>
+#include <sys/mman.h>
#include "dev.h"