summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-05-09 01:16:48 +0000
committerEric Andersen <andersen@codepoet.org>2001-05-09 01:16:48 +0000
commitcc848544ffd965d6d0ae2383ace721c1d63202a9 (patch)
tree09eaeff1a13597422253a2e0b0c411ee7d3f6523
parenta3e03be058a9b9a2caf36c5b18f66c0fc3df3bf0 (diff)
Yipe. This was still pulling in kernel headers.
-Erik
-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 */