aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/clock_getcpuclockid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/clock_getcpuclockid.c')
-rw-r--r--sysdeps/generic/clock_getcpuclockid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/generic/clock_getcpuclockid.c b/sysdeps/generic/clock_getcpuclockid.c
index f39a8cf492..874f13e141 100644
--- a/sysdeps/generic/clock_getcpuclockid.c
+++ b/sysdeps/generic/clock_getcpuclockid.c
@@ -18,6 +18,7 @@
#include <errno.h>
#include <time.h>
+#include <unistd.h>
int
clock_getcpuclockid (pid_t pid, clockid_t *clock_id)