]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
include: update UAPI types.h
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 6 Feb 2018 01:21:27 +0000 (17:21 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 6 Feb 2018 01:21:27 +0000 (17:21 -0800)
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/uapi/linux/types.h

index b1c10874d7c6134a7bcce59c1567184bb80c13f8..5ea4daa7a020dbaa5df80cf720dd555f96fc0545 100644 (file)
@@ -44,5 +44,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 /* _LINUX_TYPES_H */