diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/sys/mman.h | 16 | ||||
-rw-r--r-- | misc/sys/select.h | 7 |
2 files changed, 4 insertions, 19 deletions
diff --git a/misc/sys/mman.h b/misc/sys/mman.h index 02abf589a0..01cc640704 100644 --- a/misc/sys/mman.h +++ b/misc/sys/mman.h @@ -21,22 +21,12 @@ #include <features.h> #include <bits/types.h> + #define __need_size_t #include <stddef.h> -#ifndef __off_t_defined -# ifndef __USE_FILE_OFFSET64 -typedef __off_t off_t; -# else -typedef __off64_t off_t; -# endif -# define __off_t_defined -#endif - -#ifndef __mode_t_defined -typedef __mode_t mode_t; -# define __mode_t_defined -#endif +#include <bits/types/off_t.h> +#include <bits/types/mode_t.h> #include <bits/mman.h> diff --git a/misc/sys/select.h b/misc/sys/select.h index 29d011c2d5..c7d1a95e51 100644 --- a/misc/sys/select.h +++ b/misc/sys/select.h @@ -38,12 +38,7 @@ #ifdef __USE_XOPEN2K # include <bits/types/struct_timespec.h> #endif - -#ifndef __suseconds_t_defined -typedef __suseconds_t suseconds_t; -# define __suseconds_t_defined -#endif - +#include <bits/types/suseconds_t.h> /* The fd_set member is required to be an array of longs. */ typedef long int __fd_mask; |