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 #include +#include 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 #include +#include int pthread_getschedparam( pthread_t thread,