summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sys/types.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/sys/types.h b/include/sys/types.h
index cd114876f..666681453 100644
--- a/include/sys/types.h
+++ b/include/sys/types.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 1991,92,94,95,96,97,98,99,2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1992,1994,1995,1996,1997,1998,1999,2000,2001,2002
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -259,6 +260,13 @@ typedef __fsblkcnt64_t fsblkcnt64_t; /* Type to count file system blocks. */
typedef __fsfilcnt64_t fsfilcnt64_t; /* Type to count file system inodes. */
#endif
+
+/* Now add the thread types. */
+#include <features.h>
+#if (defined __USE_POSIX199506 || defined __USE_UNIX98) && defined UCLIBC_HAS_THREADS
+# include <bits/pthreadtypes.h>
+#endif
+
__END_DECLS
#endif /* sys/types.h */