From d94a4670800de6e8f088b8630ad5142866127980 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 26 Feb 2012 21:32:56 -0500 Subject: Add first fixes for conformtest for POSIX2008 --- nptl/ChangeLog | 2 ++ nptl/sysdeps/pthread/pthread.h | 3 +++ 2 files changed, 5 insertions(+) (limited to 'nptl') diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 00fc4e4..d376cf0 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,5 +1,7 @@ 2012-02-26 Ulrich Drepper + * sysdeps/pthread/pthread.h: Define __need_clockid_t for __USE_XOPEN2K. + * sysdeps/pthread/pthread.h: Define __need_timespec before including . * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Name pthread_attr_t diff --git a/nptl/sysdeps/pthread/pthread.h b/nptl/sysdeps/pthread/pthread.h index df7445e..0d33cbd 100644 --- a/nptl/sysdeps/pthread/pthread.h +++ b/nptl/sysdeps/pthread/pthread.h @@ -21,6 +21,9 @@ #include #include #include +#ifdef __USE_XOPEN2K +# define __need_clockid_t +#endif #define __need_timespec #include -- cgit v1.1