From 1e80791974e2a30eadc3f7001ff03808559e6539 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 15 Nov 2005 23:36:26 +0000 Subject: include pthreads if appropriate ala glibc --- include/sys/types.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'include/sys/types.h') 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 +#if (defined __USE_POSIX199506 || defined __USE_UNIX98) && defined UCLIBC_HAS_THREADS +# include +#endif + __END_DECLS #endif /* sys/types.h */ -- cgit v1.2.3