summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/sched_rr_get_interval.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/sched_rr_get_interval.c')
-rw-r--r--cpukit/posix/src/sched_rr_get_interval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/posix/src/sched_rr_get_interval.c b/cpukit/posix/src/sched_rr_get_interval.c
index dfea1abff7..c9e3e280ca 100644
--- a/cpukit/posix/src/sched_rr_get_interval.c
+++ b/cpukit/posix/src/sched_rr_get_interval.c
@@ -15,6 +15,7 @@
#include "config.h"
#endif
+#include <unistd.h> /* getpid */
#include <sched.h>
#include <errno.h>