summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-15 23:36:26 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-15 23:36:26 +0000
commit1e80791974e2a30eadc3f7001ff03808559e6539 (patch)
tree4924009cf5a7cdc548619a9223b89fe5e067a819 /include
parent274fdbb0f4ecbaf709765934493efa3688a7f601 (diff)
include pthreads if appropriate ala glibc
Diffstat (limited to 'include')
-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 */