summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/posix/src')
-rw-r--r--c/src/exec/posix/src/pthreadgetcpuclockid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/exec/posix/src/pthreadgetcpuclockid.c b/c/src/exec/posix/src/pthreadgetcpuclockid.c
index f7d9553522..d9ff80b34a 100644
--- a/c/src/exec/posix/src/pthreadgetcpuclockid.c
+++ b/c/src/exec/posix/src/pthreadgetcpuclockid.c
@@ -14,6 +14,8 @@
#include <pthread.h>
#include <errno.h>
+#include <rtems/system.h>
+
int pthread_getcpuclockid(
pthread_t pid,
clockid_t *clock_id