Skip to content

Commit 797239c

Browse files
committed
Fix missing header for posix counting semaphores
1 parent bfcfb9b commit 797239c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/hx/thread/CountingSemaphore.posix.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include <semaphore.h>
33
#include <sys/time.h>
44
#include <memory>
5+
#include <cerrno>
56
#include <hx/thread/CountingSemaphore.hpp>
67

78
struct hx::thread::CountingSemaphore_obj::Impl
@@ -88,4 +89,4 @@ bool hx::thread::CountingSemaphore_obj::tryAcquire(Null<double> timeout)
8889
}
8990
}
9091
}
91-
}
92+
}

0 commit comments

Comments
 (0)