summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-03-12 21:54:19 -0500
committerRich Felker <dalias@aerifal.cx>2011-03-12 21:54:19 -0500
commitd8d19f4d46284d5b6124710a5235b6fe090c013f (patch)
tree1e8bc66072a335abbcccaa455b76b5e2004a500b
parent9f50b77d2ba154ba0d8cbccea94af1f7b902fd1a (diff)
downloadmusl-d8d19f4d46284d5b6124710a5235b6fe090c013f.tar.gz
musl-d8d19f4d46284d5b6124710a5235b6fe090c013f.tar.bz2
musl-d8d19f4d46284d5b6124710a5235b6fe090c013f.tar.xz
musl-d8d19f4d46284d5b6124710a5235b6fe090c013f.zip
pthread.h needs clockid_t
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.
-rw-r--r--include/pthread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pthread.h b/include/pthread.h
index a47406aa..d40002e6 100644
--- 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