aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/types.h')
-rw-r--r--include/uapi/linux/types.h6
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 */

Privacy Policy