summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sys/mman.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/sys/mman.h b/include/sys/mman.h
index 29973979e..68445bbb1 100644
--- a/include/sys/mman.h
+++ b/include/sys/mman.h
@@ -2,8 +2,10 @@
#define _SYS_MMAN_H
#include <features.h>
-#include <sys/types.h>
-#include <linux/mman.h>
+#include <bits/types.h>
+#define __need_size_t
+#include <stddef.h>
+#include <bits/mman.h>
#ifndef MAP_ANON
#define MAP_ANON MAP_ANONYMOUS /* idem */