header: types.h: add __poll_t
[openwrt/staging/blogic.git] / backport / backport-include / linux / types.h
1 #ifndef __BACKPORT_TYPES
2 #define __BACKPORT_TYPES
3 #include <linux/version.h>
4 #include_next <linux/types.h>
5
6 #if LINUX_VERSION_IS_LESS(3,17,0)
7 typedef __s64 time64_t;
8 #endif
9
10 #if LINUX_VERSION_IS_LESS(4,16,0)
11 typedef unsigned __poll_t;
12 #endif
13
14 #endif /* __BACKPORT_TYPES */