Browse Source

Yipe. This was still pulling in kernel headers.
-Erik

Eric Andersen 23 years ago
parent
commit
cc848544ff
1 changed files with 4 additions and 2 deletions
  1. 4 2
      include/sys/mman.h

+ 4 - 2
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 */