summaryrefslogtreecommitdiffstats
path: root/zix/sem.h
diff options
context:
space:
mode:
Diffstat (limited to 'zix/sem.h')
-rw-r--r--zix/sem.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/zix/sem.h b/zix/sem.h
index 2de5800..24bc446 100644
--- a/zix/sem.h
+++ b/zix/sem.h
@@ -27,8 +27,8 @@
# include <limits.h>
# include <windows.h>
#else
-# include <semaphore.h>
# include <errno.h>
+# include <semaphore.h>
#endif
#ifdef __cplusplus
@@ -42,6 +42,8 @@ extern "C" {
@{
*/
+struct ZixSemImpl;
+
/**
A counting semaphore.