summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--include/pthread/pthread.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 998ece5..3de3f47 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-17 Neal H. Walfield <neal@gnu.org>
+
+ * include/pthread/pthread.h: Define __need_clockid_t before
+ including <time.h>.
+
2005-05-12 Neal H. Walfield <neal@gnu.org>
* include/pthread/pthread.h (pthread_exit): Add noreturn
diff --git a/include/pthread/pthread.h b/include/pthread/pthread.h
index 3e69cd7..23a5ff4 100644
--- a/include/pthread/pthread.h
+++ b/include/pthread/pthread.h
@@ -26,6 +26,7 @@
#include <features.h>
#include <sched.h>
+#define __need_clockid_t
#include <time.h>
__BEGIN_DECLS