summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadself.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/pthreadself.c')
-rw-r--r--cpukit/posix/src/pthreadself.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/posix/src/pthreadself.c b/cpukit/posix/src/pthreadself.c
index 361e94ba94..95ce15a9b0 100644
--- a/cpukit/posix/src/pthreadself.c
+++ b/cpukit/posix/src/pthreadself.c
@@ -21,9 +21,8 @@
#endif
#include <pthread.h>
-#include <errno.h>
-#include <rtems/system.h>
+#include <rtems/score/percpu.h>
#include <rtems/score/thread.h>
pthread_t pthread_self( void )