From: Stephen Hemminger Date: Tue, 6 Feb 2018 01:21:27 +0000 (-0800) Subject: include: update UAPI types.h X-Git-Tag: v4.16.0~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c30c7b6e351edabf6e64487125393df0d857f99b;p=thirdparty%2Fiproute2.git include: update UAPI types.h Signed-off-by: Stephen Hemminger --- diff --git a/include/uapi/linux/types.h b/include/uapi/linux/types.h index b1c10874d..5ea4daa7a 100644 --- a/include/uapi/linux/types.h +++ b/include/uapi/linux/types.h @@ -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 */