summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-01-07 23:39:45 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-01-10 08:39:18 +0100
commit016e7cb223c2a28f0a65980d978124b463f21184 (patch)
treefec7340c6f48edcb3cf8fe32e3b8f14e2d7e2852 /libc/sysdeps/linux
parent6c3db949b0627674267f078ffdefc48de1484a74 (diff)
Provide XTI __t_scalar_t types, like glibc
Reported-by: Leonid Lisovskiy <lly.dev@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/bits/types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/bits/types.h b/libc/sysdeps/linux/common/bits/types.h
index 4029167e9..9d72d45e3 100644
--- a/libc/sysdeps/linux/common/bits/types.h
+++ b/libc/sysdeps/linux/common/bits/types.h
@@ -188,6 +188,10 @@ typedef __off64_t __loff_t; /* Type of file sizes and offsets (LFS). */
typedef __quad_t *__qaddr_t;
typedef char *__caddr_t;
+/* Used in XTI. */
+typedef long int __t_scalar_t;
+typedef unsigned long int __t_uscalar_t;
+
/* Duplicates info from stdint.h but this is used in unistd.h. */
__STD_TYPE __SWORD_TYPE __intptr_t;