about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/Makefile3
-rw-r--r--posix/sys/types.h9
2 files changed, 10 insertions, 2 deletions
diff --git a/posix/Makefile b/posix/Makefile
index d483ee2b51..0062d982fb 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -22,7 +22,8 @@
 subdir	:= posix
 
 headers	:= sys/utsname.h sys/times.h sys/wait.h sys/types.h unistd.h	      \
-	   glob.h regex.h wordexp.h fnmatch.h bits/types.h getopt.h	      \
+	   glob.h regex.h wordexp.h fnmatch.h getopt.h			      \
+	   bits/types.h bits/typesizes.h				      \
 	   bits/posix1_lim.h bits/posix2_lim.h bits/posix_opt.h		      \
 	   bits/local_lim.h tar.h bits/utsname.h bits/confname.h	      \
 	   bits/waitflags.h bits/waitstatus.h sys/unistd.h sched.h	      \
diff --git a/posix/sys/types.h b/posix/sys/types.h
index 6895c0dec0..0a645dbaad 100644
--- a/posix/sys/types.h
+++ b/posix/sys/types.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 1991,92,94,95,96,97,98,99,2000,2001 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,12 @@ 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.  */
+#if defined __USE_POSIX199506 || defined __USE_UNIX98
+# include <bits/pthreadtypes.h>
+#endif
+
 __END_DECLS
 
 #endif /* sys/types.h */