diff options
Diffstat (limited to 'include/uapi/linux/libc-compat.h')
| -rw-r--r-- | include/uapi/linux/libc-compat.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/uapi/linux/libc-compat.h b/include/uapi/linux/libc-compat.h index e4f048ee7043..44b8a6bd5fe1 100644 --- a/include/uapi/linux/libc-compat.h +++ b/include/uapi/linux/libc-compat.h | |||
| @@ -139,6 +139,25 @@ | |||
| 139 | 139 | ||
| 140 | #endif /* _NETINET_IN_H */ | 140 | #endif /* _NETINET_IN_H */ |
| 141 | 141 | ||
| 142 | /* Coordinate with glibc netipx/ipx.h header. */ | ||
| 143 | #if defined(__NETIPX_IPX_H) | ||
| 144 | |||
| 145 | #define __UAPI_DEF_SOCKADDR_IPX 0 | ||
| 146 | #define __UAPI_DEF_IPX_ROUTE_DEFINITION 0 | ||
| 147 | #define __UAPI_DEF_IPX_INTERFACE_DEFINITION 0 | ||
| 148 | #define __UAPI_DEF_IPX_CONFIG_DATA 0 | ||
| 149 | #define __UAPI_DEF_IPX_ROUTE_DEF 0 | ||
| 150 | |||
| 151 | #else /* defined(__NETIPX_IPX_H) */ | ||
| 152 | |||
| 153 | #define __UAPI_DEF_SOCKADDR_IPX 1 | ||
| 154 | #define __UAPI_DEF_IPX_ROUTE_DEFINITION 1 | ||
| 155 | #define __UAPI_DEF_IPX_INTERFACE_DEFINITION 1 | ||
| 156 | #define __UAPI_DEF_IPX_CONFIG_DATA 1 | ||
| 157 | #define __UAPI_DEF_IPX_ROUTE_DEF 1 | ||
| 158 | |||
| 159 | #endif /* defined(__NETIPX_IPX_H) */ | ||
| 160 | |||
| 142 | /* Definitions for xattr.h */ | 161 | /* Definitions for xattr.h */ |
| 143 | #if defined(_SYS_XATTR_H) | 162 | #if defined(_SYS_XATTR_H) |
| 144 | #define __UAPI_DEF_XATTR 0 | 163 | #define __UAPI_DEF_XATTR 0 |
| @@ -179,6 +198,13 @@ | |||
| 179 | #define __UAPI_DEF_IN6_PKTINFO 1 | 198 | #define __UAPI_DEF_IN6_PKTINFO 1 |
| 180 | #define __UAPI_DEF_IP6_MTUINFO 1 | 199 | #define __UAPI_DEF_IP6_MTUINFO 1 |
| 181 | 200 | ||
| 201 | /* Definitions for ipx.h */ | ||
| 202 | #define __UAPI_DEF_SOCKADDR_IPX 1 | ||
| 203 | #define __UAPI_DEF_IPX_ROUTE_DEFINITION 1 | ||
| 204 | #define __UAPI_DEF_IPX_INTERFACE_DEFINITION 1 | ||
| 205 | #define __UAPI_DEF_IPX_CONFIG_DATA 1 | ||
| 206 | #define __UAPI_DEF_IPX_ROUTE_DEF 1 | ||
| 207 | |||
| 182 | /* Definitions for xattr.h */ | 208 | /* Definitions for xattr.h */ |
| 183 | #define __UAPI_DEF_XATTR 1 | 209 | #define __UAPI_DEF_XATTR 1 |
| 184 | 210 | ||
