summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/uapi/asm/posix_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/uapi/asm/posix_types.h')
-rw-r--r--arch/x86/include/uapi/asm/posix_types.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/include/uapi/asm/posix_types.h b/arch/x86/include/uapi/asm/posix_types.h
new file mode 100644
index 000000000..c661e95f0
--- /dev/null
+++ b/arch/x86/include/uapi/asm/posix_types.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+#ifndef __KERNEL__
+# ifdef __i386__
+# include <asm/posix_types_32.h>
+# elif defined(__ILP32__)
+# include <asm/posix_types_x32.h>
+# else
+# include <asm/posix_types_64.h>
+# endif
+#endif