summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2011-09-15 00:30:59 +0200
committerThomas Schwinge <thomas@schwinge.name>2011-09-15 00:30:59 +0200
commit2b52fcee6552b568b1dd59b5c89beae48cba9d00 (patch)
tree05b16b9fc79f3d62721bdbe030da67505ad83fb5
parent1c6cae3acb13e23065723d7a0072bea0a25c9064 (diff)
parent75f6fe21205a87d1942492cb34e8aab482008a78 (diff)
Merge commit 'refs/top-bases/t/fix_inline' into t/fix_inline
-rw-r--r--include/pthread/pthread.h1
-rw-r--r--pthread/cthreads-compat.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/pthread/pthread.h b/include/pthread/pthread.h
index 67b8fe4..4dbcb0c 100644
--- a/include/pthread/pthread.h
+++ b/include/pthread/pthread.h
@@ -48,6 +48,7 @@
#endif
#include <sched.h>
+#include <time.h>
__BEGIN_DECLS
diff --git a/pthread/cthreads-compat.c b/pthread/cthreads-compat.c
index 799d3a4..e0536ef 100644
--- a/pthread/cthreads-compat.c
+++ b/pthread/cthreads-compat.c
@@ -19,7 +19,6 @@
#include <assert.h>
#include <pthread.h>
-#include <stddef.h>
typedef void *cthread_t;
typedef void *(*cthread_fn_t) (void *arg);