OSDN Git Service

Yipe. This was still pulling in kernel headers.
authorEric Andersen <andersen@codepoet.org>
Wed, 9 May 2001 01:16:48 +0000 (01:16 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 9 May 2001 01:16:48 +0000 (01:16 -0000)
 -Erik

include/sys/mman.h

index 2997397..68445bb 100644 (file)
@@ -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 */