diff options
Diffstat (limited to 'src/os/unix/ngx_darwin_config.h')
-rw-r--r-- | src/os/unix/ngx_darwin_config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/os/unix/ngx_darwin_config.h b/src/os/unix/ngx_darwin_config.h index 39009768f..88aa6f502 100644 --- a/src/os/unix/ngx_darwin_config.h +++ b/src/os/unix/ngx_darwin_config.h @@ -56,6 +56,11 @@ #include <ngx_auto_config.h> +#if (NGX_HAVE_POSIX_SEM) +#include <semaphore.h> +#endif + + #if (NGX_HAVE_POLL) #include <poll.h> #endif |