diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-02 22:05:03 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-27 16:19:52 -0500 |
commit | 8ced390c2b18364af35e3d3f080e06f8ea96be9a (patch) | |
tree | 189a80e3bbc1da8328cebe352b6d60aeb4b60568 /include/uapi/linux/types.h | |
parent | d759be8953febb6e5b5376c7d9bbf568864c6e2d (diff) |
define __poll_t, annotate constants
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/uapi/linux/types.h')
-rw-r--r-- | include/uapi/linux/types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/types.h b/include/uapi/linux/types.h index e3d1d0c78f3c..cd4f0b897a48 100644 --- a/include/uapi/linux/types.h +++ b/include/uapi/linux/types.h @@ -49,5 +49,11 @@ typedef __u32 __bitwise __wsum; #define __aligned_be64 __be64 __attribute__((aligned(8))) #define __aligned_le64 __le64 __attribute__((aligned(8))) +#ifdef __CHECK_POLL +typedef unsigned __bitwise __poll_t; +#else +typedef unsigned __poll_t; +#endif + #endif /* __ASSEMBLY__ */ #endif /* _UAPI_LINUX_TYPES_H */ |