summaryrefslogtreecommitdiff
path: root/components/pthreads/pthread.c
diff options
context:
space:
mode:
author[email protected] <[email protected]>2010-11-17 23:35:13 +0000
committer[email protected] <[email protected]>2010-11-17 23:35:13 +0000
commit32f65989126fbe1fb31013c577c11bbaa46a5e72 (patch)
treec321bc5fca933c6d181d4d236873e481b0f56218 /components/pthreads/pthread.c
parent5c148b670581c6b27b184ee28cd17a5b9deaf068 (diff)
add semaphore and sched implementation.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1056 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/pthreads/pthread.c')
-rw-r--r--components/pthreads/pthread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/pthreads/pthread.c b/components/pthreads/pthread.c
index b2544ab320..e3958a5e20 100644
--- a/components/pthreads/pthread.c
+++ b/components/pthreads/pthread.c
@@ -1,4 +1,5 @@
#include <pthread.h>
+#include <sched.h>
#include "pthread_internal.h"
int pthread_system_init(void)