projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f50b77
)
pthread.h needs clockid_t
author
Rich Felker
<dalias@aerifal.cx>
Sun, 13 Mar 2011 02:54:19 +0000
(21:54 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 13 Mar 2011 02:54:19 +0000
(21:54 -0500)
actually it gets this from time.h if _POSIX_C_SOURCE or any other
feature test macros are defined, but it breaks if they're not.
include/pthread.h
patch
|
blob
|
history
diff --git
a/include/pthread.h
b/include/pthread.h
index a47406aa280b7e67d848d4d37b8682faaaabe7ed..d40002e6ad430cdec9b7efd3200db35b4e7008d1 100644
(file)
--- a/
include/pthread.h
+++ b/
include/pthread.h
@@
-5,6
+5,7
@@
extern "C" {
#endif
#define __NEED_time_t
+#define __NEED_clockid_t
#define __NEED_struct_timespec
#define __NEED_sigset_t
#define __NEED_pthread_t