summaryrefslogtreecommitdiff
path: root/backport-include/linux/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'backport-include/linux/types.h')
-rw-r--r--backport-include/linux/types.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/backport-include/linux/types.h b/backport-include/linux/types.h
new file mode 100644
index 0000000..0671e14
--- /dev/null
+++ b/backport-include/linux/types.h
@@ -0,0 +1,14 @@
+#ifndef __BACKPORT_TYPES
+#define __BACKPORT_TYPES
+#include <linux/version.h>
+#include_next <linux/types.h>
+
+#if LINUX_VERSION_IS_LESS(3,17,0)
+typedef __s64 time64_t;
+#endif
+
+#if LINUX_VERSION_IS_LESS(4,16,0)
+typedef unsigned __poll_t;
+#endif
+
+#endif /* __BACKPORT_TYPES */