mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-11 07:40:05 +00:00
Make pthread.h define all symbols from time.h.
See: http://www.pasc.org/interps/unofficial/db/p1003.1c/pasc-1003.1c-46.html http://www.pasc.org/interps/unofficial/db/p1003.1/pasc-1003.1-86.html https://www.opengroup.org/sophocles/show_mail.tpl?CALLER=index.tpl&source=L&listname=austin-group-l&id=17302 (Geoff Clare, austin-group-l, 9 Mar 2012)
This commit is contained in:
parent
67bb6da679
commit
90ad551f73
@ -1,3 +1,8 @@
|
||||
2012-03-09 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/pthread/pthread.h (__need_clockid_t, __need_timespec):
|
||||
Do not define before including <time.h>.
|
||||
|
||||
2012-03-08 David S. Miller <davem@davemloft.net>
|
||||
|
||||
* sysdeps/unix/sysv/linux/sparc/sem_post.c: Update copyright year.
|
||||
|
@ -21,10 +21,6 @@
|
||||
#include <features.h>
|
||||
#include <endian.h>
|
||||
#include <sched.h>
|
||||
#ifdef __USE_XOPEN2K
|
||||
# define __need_clockid_t
|
||||
#endif
|
||||
#define __need_timespec
|
||||
#include <time.h>
|
||||
|
||||
#include <bits/pthreadtypes.h>
|
||||
|
Loading…
Reference in New Issue
Block a user