aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/bits/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits/types.h')
-rw-r--r--sysdeps/unix/sysv/linux/bits/types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/types.h b/sysdeps/unix/sysv/linux/bits/types.h
index 16111beed0..916910908f 100644
--- a/sysdeps/unix/sysv/linux/bits/types.h
+++ b/sysdeps/unix/sysv/linux/bits/types.h
@@ -25,6 +25,9 @@
#include <features.h>
+#define __need_size_t
+#include <stddef.h>
+
/* Convenience types. */
typedef unsigned char __u_char;
typedef unsigned short __u_short;
@@ -131,4 +134,8 @@ typedef __loff_t __off64_t;
typedef int __t_scalar_t;
typedef unsigned int __t_uscalar_t;
+
+/* Now add the thread types. */
+#include <bits/pthreadtypes.h>
+
#endif /* bits/types.h */