summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibPthread/semaphore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibPthread/semaphore.h b/Userland/Libraries/LibPthread/semaphore.h
index 8e71c813cf..afcbe11283 100644
--- a/Userland/Libraries/LibPthread/semaphore.h
+++ b/Userland/Libraries/LibPthread/semaphore.h
@@ -28,6 +28,7 @@ int sem_unlink(const char*);
int sem_wait(sem_t*);
int sem_timedwait(sem_t*, const struct timespec* abstime);
+#define SEM_FAILED ((sem_t*)0)
#define SEM_VALUE_MAX INT_MAX
__END_DECLS