summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstore/bunzip2.c1
-rw-r--r--libstore/copy.c1
-rw-r--r--libstore/enc.c1
-rw-r--r--libstore/gunzip.c1
-rw-r--r--libstore/rdwr.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/libstore/bunzip2.c b/libstore/bunzip2.c
index 71a69db6..3b7ecb0e 100644
--- a/libstore/bunzip2.c
+++ b/libstore/bunzip2.c
@@ -22,6 +22,7 @@
#include <string.h>
#include <setjmp.h>
#include <cthreads.h>
+#include <sys/mman.h>
#include "store.h"
diff --git a/libstore/copy.c b/libstore/copy.c
index 7856c634..ded612fe 100644
--- a/libstore/copy.c
+++ b/libstore/copy.c
@@ -23,6 +23,7 @@
#include <stdio.h>
#include <string.h>
#include <malloc.h>
+#include <sys/mman.h>
#include "store.h"
diff --git a/libstore/enc.c b/libstore/enc.c
index 8ab76f4f..65104cf0 100644
--- a/libstore/enc.c
+++ b/libstore/enc.c
@@ -19,6 +19,7 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */
#include <string.h>
+#include <sys/mman.h>
#include "store.h"
diff --git a/libstore/gunzip.c b/libstore/gunzip.c
index 261baee3..eb2355e8 100644
--- a/libstore/gunzip.c
+++ b/libstore/gunzip.c
@@ -22,6 +22,7 @@
#include <string.h>
#include <setjmp.h>
#include <cthreads.h>
+#include <sys/mman.h>
#include "store.h"
diff --git a/libstore/rdwr.c b/libstore/rdwr.c
index 27c2916d..42006ad5 100644
--- a/libstore/rdwr.c
+++ b/libstore/rdwr.c
@@ -19,6 +19,7 @@
59 Temple Place - Suite 330, Boston, MA 02111, USA. */
#include <string.h>
+#include <sys/mman.h>
#include "store.h"