about summary refs log tree commit diff
path: root/nptl/sysdeps/pthread/pthread.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-02-26 21:32:56 -0500
committerUlrich Drepper <drepper@gmail.com>2012-02-26 21:32:56 -0500
commitd94a4670800de6e8f088b8630ad5142866127980 (patch)
tree77ce944c2371dc45a567104a47454da162579391 /nptl/sysdeps/pthread/pthread.h
parent4a3dded52708e6d9be190a968f0f09ca57539e13 (diff)
downloadglibc-d94a4670800de6e8f088b8630ad5142866127980.tar.gz
glibc-d94a4670800de6e8f088b8630ad5142866127980.tar.xz
glibc-d94a4670800de6e8f088b8630ad5142866127980.zip
Add first fixes for conformtest for POSIX2008
Diffstat (limited to 'nptl/sysdeps/pthread/pthread.h')
-rw-r--r--nptl/sysdeps/pthread/pthread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nptl/sysdeps/pthread/pthread.h b/nptl/sysdeps/pthread/pthread.h
index df7445e358..0d33cbdb9e 100644
--- a/nptl/sysdeps/pthread/pthread.h
+++ b/nptl/sysdeps/pthread/pthread.h
@@ -21,6 +21,9 @@
 #include <features.h>
 #include <endian.h>
 #include <sched.h>
+#ifdef __USE_XOPEN2K
+# define __need_clockid_t
+#endif
 #define __need_timespec
 #include <time.h>