OLD | NEW |
1 #ifndef»_SYS_TYPES_H | 1 #ifndef _SYS_TYPES_H |
2 #define»_SYS_TYPES_H | 2 #define _SYS_TYPES_H |
3 #ifdef __cplusplus | 3 #ifdef __cplusplus |
4 extern "C" { | 4 extern "C" { |
5 #endif | 5 #endif |
6 | 6 |
7 #include <features.h> | 7 #include <features.h> |
8 | 8 |
9 #define __NEED_ino_t | 9 #define __NEED_ino_t |
10 #define __NEED_dev_t | 10 #define __NEED_dev_t |
11 #define __NEED_uid_t | 11 #define __NEED_uid_t |
12 #define __NEED_gid_t | 12 #define __NEED_gid_t |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 #define __NEED_u_int64_t | 53 #define __NEED_u_int64_t |
54 #define __NEED_register_t | 54 #define __NEED_register_t |
55 #endif | 55 #endif |
56 | 56 |
57 #include <bits/alltypes.h> | 57 #include <bits/alltypes.h> |
58 | 58 |
59 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) | 59 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) |
60 typedef unsigned char u_int8_t; | 60 typedef unsigned char u_int8_t; |
61 typedef unsigned short u_int16_t; | 61 typedef unsigned short u_int16_t; |
62 typedef unsigned u_int32_t; | 62 typedef unsigned u_int32_t; |
63 typedef char *caddr_t; | 63 typedef char* caddr_t; |
64 typedef unsigned char u_char; | 64 typedef unsigned char u_char; |
65 typedef unsigned short u_short, ushort; | 65 typedef unsigned short u_short, ushort; |
66 typedef unsigned u_int, uint; | 66 typedef unsigned u_int, uint; |
67 typedef unsigned long u_long, ulong; | 67 typedef unsigned long u_long, ulong; |
68 typedef long long quad_t; | 68 typedef long long quad_t; |
69 typedef unsigned long long u_quad_t; | 69 typedef unsigned long long u_quad_t; |
70 #include <endian.h> | 70 #include <endian.h> |
71 #include <sys/select.h> | 71 #include <sys/select.h> |
72 #include <sys/sysmacros.h> | 72 #include <sys/sysmacros.h> |
73 #endif | 73 #endif |
74 | 74 |
75 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE) | 75 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE) |
76 #define blkcnt64_t blkcnt_t | 76 #define blkcnt64_t blkcnt_t |
77 #define fsblkcnt64_t fsblkcnt_t | 77 #define fsblkcnt64_t fsblkcnt_t |
78 #define fsfilcnt64_t fsfilcnt_t | 78 #define fsfilcnt64_t fsfilcnt_t |
79 #define ino64_t ino_t | 79 #define ino64_t ino_t |
80 #define off64_t off_t | 80 #define off64_t off_t |
81 #endif | 81 #endif |
82 | 82 |
83 #ifdef __cplusplus | 83 #ifdef __cplusplus |
84 } | 84 } |
85 #endif | 85 #endif |
86 #endif | 86 #endif |
OLD | NEW |