svn commit: trunk/uClibc/include/sys

vapier at uclibc.org vapier at uclibc.org
Tue Nov 15 23:36:46 UTC 2005


Author: vapier
Date: 2005-11-15 15:36:26 -0800 (Tue, 15 Nov 2005)
New Revision: 12270

Log:
include pthreads if appropriate ala glibc

Modified:
   trunk/uClibc/include/sys/types.h


Changeset:
Modified: trunk/uClibc/include/sys/types.h
===================================================================
--- trunk/uClibc/include/sys/types.h	2005-11-15 23:35:56 UTC (rev 12269)
+++ trunk/uClibc/include/sys/types.h	2005-11-15 23:36:26 UTC (rev 12270)
@@ -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 __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 */




More information about the uClibc-cvs mailing list