summaryrefslogtreecommitdiffstats
path: root/libc/include/semaphore.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/semaphore.h')
-rw-r--r--libc/include/semaphore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/include/semaphore.h b/libc/include/semaphore.h
index fdc401a..30e3123 100644
--- a/libc/include/semaphore.h
+++ b/libc/include/semaphore.h
@@ -50,6 +50,9 @@ extern int sem_trywait(sem_t *);
extern int sem_unlink(const char *);
extern int sem_wait(sem_t *);
+struct timespec;
+extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
+
__END_DECLS
#endif /* _SEMAPHORE_H */