aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_posix_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_posix_config.h')
-rw-r--r--src/os/unix/ngx_posix_config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/os/unix/ngx_posix_config.h b/src/os/unix/ngx_posix_config.h
index 86a80d701..aec8a0a35 100644
--- a/src/os/unix/ngx_posix_config.h
+++ b/src/os/unix/ngx_posix_config.h
@@ -96,6 +96,11 @@
#include <ngx_auto_config.h>
+#if (NGX_HAVE_POSIX_SEM)
+#include <semaphore.h>
+#endif
+
+
#if (NGX_HAVE_POLL)
#include <poll.h>
#endif