summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/posix/src/pthreadgetschedparam.c1
-rw-r--r--cpukit/posix/src/pthreadgetschedparam.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/c/src/exec/posix/src/pthreadgetschedparam.c b/c/src/exec/posix/src/pthreadgetschedparam.c
index 00a6f65641..7287d09a36 100644
--- a/c/src/exec/posix/src/pthreadgetschedparam.c
+++ b/c/src/exec/posix/src/pthreadgetschedparam.c
@@ -19,6 +19,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
+#include <rtems/posix/priority.h>
int pthread_getschedparam(
pthread_t thread,
diff --git a/cpukit/posix/src/pthreadgetschedparam.c b/cpukit/posix/src/pthreadgetschedparam.c
index 00a6f65641..7287d09a36 100644
--- a/cpukit/posix/src/pthreadgetschedparam.c
+++ b/cpukit/posix/src/pthreadgetschedparam.c
@@ -19,6 +19,7 @@
#include <rtems/system.h>
#include <rtems/posix/pthread.h>
+#include <rtems/posix/priority.h>
int pthread_getschedparam(
pthread_t thread,